TPL Dataflow (TDF) is a .NET library for building concurrent applications. It promotes actor/agent-oriented designs through primitives for in-process message passing, dataflow, and pipelining. TDF builds upon the TPL (Task Parallel Library) in .NET 4 and integrates with async language support in C#, ...
5
votes
2answers
68 views
Task Parallel Library and Mailkit
I have a use case where I need to process about 80,000 emails per day. The client has an existing process that takes about 1/sec per email and is running out of time before the next batch comes in. ...
3
votes
1answer
170 views
Formatting a CAN bus message as a string
I am writing a CAN bus logger application and need to format messages as quick as possible in order to prevent buffer overflows on our device. In some cases I am quick enough, but under heavy loads it ...
4
votes
1answer
166 views
Rewriting to single pipeline by using data flow blocks
I have a number of messages with a payload as a list of items. My goal is to transform the message payload without losing the relation between the message and payloads.
Isn't it possible to rewrite ...
1
vote
1answer
104 views
Implementation of self-updating, asynchronous cache solution of individual (non-bulk) objects
Here I am again; referring to my previous code review request about a self-updating, asynchronous (?) cache.
The previous class takes care of caching operations like "get all users registered in our ...
4
votes
2answers
444 views
High udpclient CPU use
I have a bunch of different ports I want to listen on and the iterate over the available data to send to a Dataflow pipeline. In total I'm listening on 14 ports. I'm looking for any advice on how to ...
2
votes
1answer
214 views
Batcher using Microsoft.Tpl.Dataflow
What do you think? In particular, I'm not sure about my exception handling approach to raise errors when posting objects; but I couldn't come up with anything better.
...
3
votes
1answer
1k views
TPL Dataflow BatchBlock with Batch Size & Timeout
I needed BatchBlock with support for timeout (act greedy on what it received at that time) and by some search and study, this is the outcome.
What are drawbacks or ...