I found n-act http://code.google.com/p/n-act/ , an Actors framework for .Net that implements pretty much what I'm looking for. I described in my question that I am looking for more detailed wireframe suggestions, and it seems to me that the Actor Framework decides what I need. I'm not saying that the n-act library will be what I am implementing, but this is a simple example of setting up participants who can communicate asynchronously and can work in their threads. Messaging also supports the new async / wait feature of C # 5.
Disruptor was mentioned above, as well as TPL and a couple of other ideas, and I appreciate the contribution, in fact it really made me think, and I spent a lot of time to understand what each library / structure is trying to configure and what problems it is trying to solve , so the entrance was very fruitful.
However, for my specific case, I think I believe that The Actors Framework is exactly what I need, because my main task is to exchange streams of asynchronous data. Unfortunately, I do not see a significant part of the Actor model implemented in any .NET technology (for now). TPL Dataflow looks very promising, but, as Weismat noted, it is not yet ready for production.
If N-Act is not stable or usable, I will look for a custom implementation through TPL. It is time to fully understand everything that TPL offers and start thinking at the same time at the design stage, rather than trying to transfer synchronous models into an asynchronous structure.
So the "Actor Model" was what I was looking for.
Matt wolf
source share