Hyper client concurrent excution take twice as much time comparing to parallel #3183
Unanswered
AndrewKovalenko
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Is the Tokio you're using a mutli-threaded runtime? If so, then spawning is allowing other threads to work at the same time. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I try to send 100 http requests concurently with code below - I get avg completion time ~600ms
however when I modify to remove concurency - avg. execution time drops to ~280ms
Could you please help me understand what does cause such a huge performance difference?
Beta Was this translation helpful? Give feedback.
All reactions