关于[Creating a Throttle with ActionBlock]的摘要:
We have an application that needs to perform a repetitive task on many external services and record then aggregate the results. As the system has grown the number of external systems has increased which causes some issues as we originally just created a number of tasks and waited on them all completing. This overwhelmed various things as all these tasks were launched near simultaneously. We needed a way to throttle each task, so we used an ActionBlock, part of the Task Parallel Library’s System.Threading.Tasks.Dataflow package.
原文地址: https://colinmackay.scot/2018/07/16/creating-a-throttle-with-actionblock/