That’s not 1M concurrent requests.

That’s 100 concurrent requests for a queue of 1M tasks.

Work queue and thread pool is the normal way, but it’s possible to get fancy with optimizations.

Basically you fire 100 requests and when one completes you immediately fire another.

Create a post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

  • 1 user online
  • 1 user / day
  • 2 users / week
  • 8 users / month
  • 88 users / 6 months
  • 1 subscriber
  • 303 Posts
  • 2.15K Comments
  • Modlog