Should I utilize multiple HttpClients for bulk async GET requests?

前端 未结 1 1896
离开以前
离开以前 2021-01-07 15:37

I have a scenario where I need to make a large number of GET requests in as little time as possible (think around 1000).

I know generally it\'s best to keep a singl

相关标签:
1条回答
  • I would suggest two main changes.

    1. Remove the await so that multiple downloads can occur at the same time.
    2. Set DefaultConnectionLimit to a larger number (e.g. 50).
    0 讨论(0)
提交回复
热议问题