tpl-dataflow Questions

2

Solved

I'm implementing a worker role on Azure which needs to delete blobs from Azure storage. Let's assume my list of blobs has about 10K items. The simplest synchronous approach would probably be: Par...

1

Solved

I am using TPL DataFlow and an ActionBlock to create parallelism. The reason for using TPL DataFlow is because it supports asynchronicity, except I can't get it to work. var ab = new ActionBlock&l...
Salvador asked 8/9, 2013 at 16:38

1

Solved

It should be something very natural to have, I was wondering if there is a ready implementation of Prioritized BufferBlock from TPL DataFlow library?
Lingcod asked 17/5, 2011 at 14:4

1

Solved

I would like to know whether it is possible to change the completion state of data blocks? For example, I marked a var block = new BufferBlock<int>(); data block complete with block.Complet...
Quirinal asked 12/4, 2013 at 9:38

2

Solved

I am looking for the .NET 4.0 version of the TPL dataflow library. The Nuget package has a 4.0 version of the library, but it seems to target .NET 4.5. I found various references to a 4.0 version...
Nanoid asked 11/3, 2013 at 12:44

1

Solved

I was looking for a lightweight, in process, async message bus and came across TPL Dataflow. My current implementation is below (full example at https://gist.github.com/4416655). public class Bu...
Apps asked 31/12, 2012 at 1:49

1

Solved

I want to implement a prioritised ActionBlock<T>. So that i can Conditionally give priority to some TInput items by using a Predicate<T>. I read Parallel Extensions Extras Samples and G...

1

I have a class Receiver with an ActionBlock: public class Receiver<T> : IReceiver<T> { private ActionBlock<T> _receiver; public Task<bool> Send(T item) { if(_receive...

2

Solved

I am confused about the difference between sending items through Post() or SendAsync(). My understanding is that in all cases once an item reached the input buffer of a data block, control is retur...

1

I have a BufferBlock to which I post messages: public class DelimitedFileBlock : ISourceBlock<string> { private ISourceBlock<string> _source; _source = new BufferBlock<string>(...
Filamentary asked 20/9, 2012 at 8:43

1

Solved

Background I have an application that receives periodic data dumps (XML files) and imports them into an existing database using Entity Framework 5 (Code First). The import happens via EF5 rather t...

1

I just want to learn both and how to use them together. I understand that they can complement each other I just could not find an example of someone actually doing it.
Moneylender asked 8/7, 2012 at 14:41

2

Solved

I just upgraded Visual Studio 11 Beta to the new Visual Studio 2012 RC and have problems referencing TPL Dataflow. First, I tried to reference Dataflow as I did previously, by adding a reference f...

1

cross-posted to http://social.msdn.microsoft.com/Forums/en-US/tpldataflow/thread/89b3f71d-3777-4fad-9c11-50d8dc81a4a9 I know... I'm not really using TplDataflow to its maximum potential. ATM I'm s...

1

Solved

I'm specifically looking at writing some signal processing algorithms in one or other, or maybe some combination of both of these. Performance isn't a big concern, clarity of expressing intent is ...

© 2022 - 2024 — McMap. All rights reserved.