TPL Dataflow announcement
-
Link
In .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
"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.
-
Unanswered0VotesTPL Dataflow performance issue
No significat difference. 3. I added BufferBlock with default values and linked same actionblock to it. This way i got 230-270 messages/s. I am probably doing ... -
Unanswered0VotesI need Dataflow tuning /configuration help
Hi! I've been trying to tune a TPL Dataflow-based web spider that I created to make it run at maximum speed WITHOUT running out of memory, but I have found the whole greedy/non-greedy buffering ... -
Unanswered0VotesProblem with TplAsync code
Hi! Let me start by thanking you for your great set of articles on TPL Dataflow. I've found the entire series to be very helpful. I did, however, run into a problem with your ... -
Unanswered1VotesResuming a paused block
!paused); The pause boolean will be controlled by my target block. Pausing works great, but turning the pause bool back to false wont resume my sourceblock from ... -
Unanswered0VotesCreate reusable processing logic on top of predefined blocks with TPL dataflow?
I copied my question from stackoverflow here. I'll monitor both places :) I love TPL dataflow. Well, an interesting design choice is that, ... -
Answered1Votestrack messages dropped due to boundedcapcity
I have a simple scenario with a BroadcastBlock linked to an ActionBlock. var bcb = new BroadcastBlock<T>( null ); var dbo = new ... -
Unanswered0VotesInstall fails via NuGet on portable library targeting .net 4.5 and store apps
I have a portable library targeting .NET Framework 4.5, and .NET for Windows Store apps. NuGet install of Microsoft.Tpl.Dataflow ... -
Answered5Votesvs2012/.net 4.5 RC Compiler error, when using ActionBlock, missing reference to System.Threading.Tasks
Hello guys, I'm using the TDF rc with .net 4.5, but when i declare an ActionBlock the compiler gives this error: Error 1 The type ... -
Answered1VotesReceiveAsync blocking - any reason this could happen legitimately?
Just a quick sanity check to make sure I'm not misunderstanding something: Is there any reason why ReceiveAsync would block, despite items definitely being posted to the block in ... -
Answered1VotesFiltering custom blocks with LinkTo
Hello, I wrote a simple wrapper block (real wrapper is a little bit more complex, but this is simplest one that reproduce my ... -
Answered0VotesWhat's the difference between these 2 code snippets?
I am studying the TPL Dataflow. Belwo are 2 pieces of code snippet from the official document. But I am not fully getting what's the difference between ... -
Unanswered1Votesawait BufferBlock.ReceiveAsync() gets stuck (deadlocked?)
Hi, I have a simple scenario where one thread is posting items to BufferBlock if (!this.BufferBlock.Post(message)) { ... -
Unanswered0VotesIs it smart to use Dataflow as async queue solution in ASP MVC
I have ASP MVC application in which I am writing server-side events to several places, currently it is email and NoSql database. Currently it happen synchronously which ... -
Answered1VotesDataflow local storage or something like it
What I'm trying to accomplish is I have a action block with MaxDegreeOfParallelism = 4. I want to create one local instance of a session object I have for each parallel path, So I want to ... -
Answered0VotesWhere can I find a TPL dataflow version that targets .NET Framework 4.0?
I'm looking for a version of TPL dataflow that works with the .NET 4.0 framework. I found this ... -
Answered2VotesMemory Leak using TPL Dataflow
using System; using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; namespace TaskTesting { ... -
Answered2VotesBug using Encapsulate with Filtering
Assume I have the following code: public static IPropagatorBlock<TIn,TOut> CreateSampleBlock<TIn,TOut>(Func<TIn,TOut> transform) { var buffer = new ... -
Answered0VotesOne Producer with two Consumers that both get all posts
I need to receive a continuous stream of double values from the USB port, save the values to a database and store them in memory to be displayed. Previously I've used a rather elaborate ... -
Answered0VotesBlocking BufferBlock?
We've tried BufferBlock with rather small bound capacity and discovered, that when the buffer fills up - new messages disappear. We'd like to use something like BufferBlock + BlockingCollection ... -
Answered1VotesUsing TPL for file download scheduler and processing each of those files asynchronously
My current project is using .net 2.0 threading and has a master thread for scheduling 1.File download thread and 2. File Processing Thread. I can restrict the maximum threads to be processed ... - Items 1 to 20 of 156 Next ›


