I
I
iXelper2020-10-29 12:11:09
C++ / C#
iXelper, 2020-10-29 12:11:09

How Task works?

Good afternoon, I started to study asynchronous programming. And I noticed this feature:
There is an application that asynchronously performs a lot of get requests. I'm trying to achieve as many concurrent requests as possible. The application in a cycle for (let's say) 5 minutes gives 800 requests , but if you run another copy of the application in total, they will give 1600 requests.
Hence the question, why can't one copy of the application do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-10-29
@firedragon

Read here, under the hood there is a standard ThreadPool
https://stackoverflow.com/questions/39222981/maxim...

I
itgood, 2020-10-29
@itgood

Lol why don't you count the flow

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question