The Task Parallel Library (TPL) was introduced in the .NET Framework 4, providing core building blocks and algorithms for parallel computation and asynchrony. This work was centered around the System.Threading.Tasks.Task type, as well as on a few higher-level constructs. These higher-level constructs address a specific subset of common parallel patterns, e.g. Parallel.For/ForEach for delightfully parallel problems expressible as parallelized loops.
While a significant step forward in enabling developers to parallelize their applications, this work did not provide higher-level constructs necessary to tackle all parallel problems or to easily implement all parallel patterns. In particular, it did not focus on problems best expressed with agent-based models or those based on message-passing paradigms. These kinds of problems are quite prevalent in the technical computing domains of finance, biological sciences, oil & gas, and more.
For TPL Dataflow (TDF), we build upon the foundational layer provided in TPL in .NET 4. TDF is a complementary set of primitives to those primitives delivered in TPL in .NET 4, addressing additional scenarios beyond those directly and easily supported with the original APIs. TPL Dataflow utilizes tasks, concurrent collections, tuples, and other features introduced in .NET 4 to bring support for parallel dataflow-based programming into the .NET Framework. It also directly integrates with new language support for tasks and asynchrony provided by both C# and Visual Basic, and with existing language support in .NET 4 for tasks provided by F#.
Get back to the UI thread Hey,tpl is fantastic! Together with the underrated net.p2p wcf channel, i was able to build a highly scaling mesh, thanks to TPL. All the internal sc... more Sunday, Feb 5
web crawler sample I have publish a post (and sample code)about creating a web crawler application using the Tpl Dataflow library.http://blogs.microsoft.co.il/blogs/bn... more Saturday, Jan 28
Unit Test DataFlow TPL Is there any sample to unit test Dataflow TPL ( ActionBlock ?) Wednesday, Jan 18
TPL Dataflow and complex object structures I have a question regarding TPL Dataflow and how I can use it to process a complex tree of objects. To illustrate the question I think it's a good ide... more Wednesday, Dec 21
TPL Dataflow utilizes tasks, concurrent collections, tuples, and other features introduced in .NET 4 to bring support for parallel dataflow-based programming into the .NET Framework.