Simpler solution than TPL Dataflow for parallel async blob deletion
问题 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: Parallel.ForEach(list, x => ((CloudBlob) x).Delete()); Requirements: I want to implement the same thing asynchronously (on a single thread). I want to limit the number of concurrent connections to 50 - so I'll do my 10K deletions when only 50 async ones are being performed at the same time. If one