TPL Dataflow
Discuss and ask questions about TPL Dataflow (System.Threading.Tasks.Dataflow.dll) -- including usage, performance, feature request, bugs, general concepts and more.
Announcements
- Link
TPL Dataflow in .NET 4.5 RC on NuGet
Stephen Toub - MSFTMicrosoft EmployeeFriday, June 01, 2012 5:23 PMIn .NET 4.5 RC, TPL Dataflow is delivered via NuGet at https://nuget.org/packages/Microsoft.Tpl.Dataflow and is supported everywhere that .NET 4.5 runs, including desktop, server, and .NET for Metro style apps. The simplest way to install the package in Visual Studio is to highlight the target project, select Tools > Library Package Manager > Package Manager Console, and at the prompt enter:
Install-Package Microsoft.Tpl.Dataflow -Pre
The -Pre flag is needed because these are marked as prerelease versions. You can use the GUI Manage NuGet Packages dialog for this task as well, but when searching make sure to select Include Prerelease from the appropriate drop-down list. For details about this release, please refer to the blog post at http://blogs.msdn.com/b/bclteam/archive/2012/05/30/mef-and-tpl-dataflow-nuget-packages-for-net-framework-4-5-rc.aspx. - Link
Welcome to the TPL Dataflow forum!
Stephen Toub - MSFTMicrosoft EmployeeWednesday, January 26, 2011 3:39 PM"TPL Dataflow" is a new .NET library for building concurrent, parallel, and asynchronous applications. It enables building systems based on dataflow concepts, on in-process message passing, and on asynchronous pipelines. This library, System.Threading.Tasks.Dataflow.dll, is heavily inspired by the Visual C++ Asynchronous Agents Library, by the CCR from Microsoft Robotics, by the Axum language, and more; it’s built on top of a multitude of constructs introduced in .NET 4, internally using types like Task and ConcurrentQueue<T>, in order to provide solutions for buffering and processing data, for building systems that need high-throughput and low-latency processing of data, and for building agent/actor-based systems. TPL Dataflow was also designed to integrate very well with the new language support for tasks, such that you can easily use TPL Dataflow constructs within asynchronous methods, and such that you can harness asynchronous methods within “dataflow blocks.”
You can download a Community Technology Preview release from the TC Labs site on MSDN DevLabs at http://msdn.microsoft.com/en-us/devlabs/gg585582. A previous preview release of the DLL is also available as part of the Microsoft Visual Studio Async CTP, available at http://msdn.com/vstudio/async.
Please use this forum to ask questions about TPL Dataflow, to provide feedback on the library, to let us know about your successes and to let us know about your stumbling blocks. We look forward to hearing from and conversing with you.
Filtering and SortingUse these options to narrow down the question and discussion list.
- 038

Create reusable processing logic on top of predefined blocks with TPL dataflow?
Karl He Thursday, May 16, 2013 5:33 AM - 2105

track messages dropped due to boundedcapcity
Mark Zvilius Tuesday, April 30, 2013 6:29 PM - 1128

Install fails via NuGet on portable library targeting .net 4.5 and store apps
Aphid1 Sunday, April 14, 2013 11:10 PM - 93334

vs2012/.net 4.5 RC Compiler error, when using ActionBlock, missing reference to System.Threading.Tasks
aL3891 Thursday, June 07, 2012 10:29 AM - 6208

ReceiveAsync blocking - any reason this could happen legitimately?
PeteBeech Monday, April 08, 2013 2:20 PM - 51408

Filtering custom blocks with LinkTo
LeetBaal Tuesday, December 04, 2012 9:25 AM - 2122

What's the difference between these 2 code snippets?
smwikipedia Sunday, April 07, 2013 7:50 AM - 5182

await BufferBlock.ReceiveAsync() gets stuck (deadlocked?)
Stevo Zilik Wednesday, March 27, 2013 10:03 AM - 1244

Is it smart to use Dataflow as async queue solution in ASP MVC
Ido Ran Friday, March 15, 2013 3:57 PM - 4333

Dataflow local storage or something like it
AceHack Thursday, March 07, 2013 7:43 AM - 1216

Where can I find a TPL dataflow version that targets .NET Framework 4.0?
aKzenT Wednesday, March 13, 2013 7:22 PM - 1788

Memory Leak using TPL Dataflow
Cliff Hammerschmidt Wednesday, February 06, 2013 8:25 PM - 31546

Bug using Encapsulate with Filtering
A.Frischke Saturday, October 20, 2012 2:07 AM - 71075

One Producer with two Consumers that both get all posts
Rubio Monday, January 14, 2013 8:40 PM - 1848

Blocking BufferBlock?
SergejusMVPMonday, January 14, 2013 9:28 AM - 31498

Using TPL for file download scheduler and processing each of those files asynchronously
Rakesh Gopinath Friday, December 07, 2012 4:17 AM - 41294

Why are the following transformBlock run-times impacted by subsequent transformManyBlock
Freddy1733 Thursday, December 13, 2012 7:10 AM - 1990

DataBlock Lifetime and completion
Ben Foster Monday, December 31, 2012 1:37 PM - 11099

How to handle exceptions in Linked targets?
Ben Foster Monday, December 31, 2012 1:28 PM - 1882

Is this a bug in JoinBlock?
ydong Thursday, December 27, 2012 3:37 PM

