Actors Made Easy with C# and TPL DataFlow

by Jonathan Allen Follow 632 Followers on  Nov 19, 2013

For some design problems actors can make all the difference. An Actor is an independent entity that can respond to and send messages. In a way it is like its own little program running inside another process. But building actors in languages that don’t natively support them can be difficult, but Johan Olsson found a way to simplify the process using TPL DataFlow.


MEF 2 Gets Symbol Package – May Come Soon For TPL DataFlow

by Roopesh Shenoy Follow 0 Followers on  Aug 29, 2012

MEF 2 and TPL Dataflow RTM were released along with .NET Framework 4.5 – and the team have now announced NuGet Symbol package for MEF. Reference Sources for TPL Dataflow may be released soon.


MEF for Windows 8 Metro and TPL Data Flow Moved to NuGet

by Jonathan Allen Follow 632 Followers on  Jun 13, 2012

Microsoft has decided to remove MEF for Windows 8 Metro and TPL Data Flow from the .NET 4.5 framework release. Instead they will be offered as NuGet packages so that improvements can be released outside of the full .NET release cycle.


More on TPL Data Flow from Zlatko Michailov

by Jonathan Allen Follow 632 Followers on  Jan 19, 2012

We briefly interviewed Zlatko Michailov, author of the Guide to Implementing Custom TPL Dataflow Blocks.


Implementing Custom TPL Dataflow Blocks

by Jonathan Allen Follow 632 Followers on  Jan 02, 2012

Dataflow Blocks are the backbone of the .NET 4.5’s new high performance parallel processing library. And while they offer a lot of functionality out of the box, there will be times when a custom block is necessary. Zlatko Michailov has put together a document outlining the process and many of the traps you may encounter.


Using Messaging and Scheduling for Lock-free Access to Shared State

by Jonathan Allen Follow 632 Followers on  Apr 27, 2011 7

In a message passing system there may be times when mutable data must be shared amongst many tasks. In traditional programming this would be handled by a read-writer block, which would allow one writer thread to block all other threads while it updates the shared data. With a technique found in frameworks such as TPL Dataflow it is possible to avoid this.


Asynchronous Message Processing using Task Parallel Library and Reactive Extensions

by Jonathan Allen Follow 632 Followers on  Apr 25, 2011

A new preview of TPL Dataflow has recently been released along with Visual Studio Async. Along with performance enhancements and stronger ties with the Reactive Framework, it is being positioned as a foundation for building actor/agent style frameworks as opposed to a complete solution.


TPL Dataflow – The Successor to CCR

by Jonathan Allen Follow 632 Followers on  Jan 06, 2011

TPL Dataflow is Microsoft’s new library for highly concurrent applications. Using asynchronous message passing and pipelining, it promises to offer more control than thread pools and better performance than manual threading. The downside is that you have to adhere to design patterns that may be unfamiliar to .NET programmers.