Throttling execution through BlockingCollection

BlockingCollection is essentially a queue that provides a thread-safe way to consume items. You can put it into a loop and consume the items one at a time, throttling execution and potentially preventing your system from being overwhelmed. I use these all the time, but most recently I built it in to a metric collection … [Read more…]