python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
BlockingCollection alternatives?
We are using BlockingCollection to implement producer-consumer pattern in a real-time application:
BlockingCollection<T> collection = new BlockingCollection<T>();
CancellationTokenSource c...
alexk
Votes: 0
Answers: 2
BlockingCollection where the consumers are also producers
I have a bunch of requests to process, and during the processing of those requests, more "sub-requests" can be generated and added to the same blocking collection. The consumers add sub-requ...
Adrian S
Votes: 0
Answers: 1
BlockingCollection bounded capacity performance degradation
I've got this C# process (.net 5.0) that reads from a zip file, deserializes the json to an object, and then transforms the json objects to DataTables for storage into a Sql Server database. After a ...
user1664043
Votes: 0
Answers: 1
How to notify failure in producer-consumer pattern using BlockingCollection?
I'm trying to create a lifetime process that batches incoming messages for DB bulk insert.
The new message is coming in 1 at a time, in an irregular interval.
My solution to this would be something li...
furymonkey
Votes: 0
Answers: 1