Hi,
I am working on a project involving financial transactions.
There can be any number of transactions coming in at the same time.
The problem is that, it seems as though, in a few cases, the transactions are being "mixed up", in an unpredictable way. I don't know if it's a result of our "bad" Lifestyle choices for Castle Windsor or there is other code causing it.
Would like to clear the air on Castle Windsor.
The logging shows that sometimes a particular request will be mixed up with a different response.
I know...Scares us too!
Main technology used is C# 4, Net 4.5, WCF, Castle Windsor
It is structured as follows:
+-----------------------+ +-----------------------+ +-----------------------+ | | | | | | | | | | | | | [WCF Service A] | | [WCF Service B] | | [WCF Service C] | | Instantiates a +------------->+ Instantiates a +----------------> | Connects to an external | client to B using | | client to C using | | RESTful API | | ChannelFactory | | a serivice referece | | (Singleton Lifestyle) | | (Singleton Lifestyle) | | to C | | | | | | (Singleton Lifestyle) | | | | | | | | | +-----------------------+ +-----------------------+ +-----------------------+
Hope someone can confirm if our implementation is a possible cause of the bugs.
Thanks!
TK