Why does the execution time of each goroutine increase as the number of goroutines increases? #6497
-
|
i found when increase client concurrency to read a some object from s3 like minio,the time consumed by each coroutine will increase exponentially, and i profiling it and found the issue is stuck when the server returns data to the client and there are no bottlenecks on either the server or the client side(CPU,MEMORY,DISK,NETWORK) i test it and reproduce by follow step: test server code: test client code: when increase client concurrency , the time consumption of a single coroutine increases , from 59ms(1 concurrency)->110ms(2 concurrency)->200ms(4 concurrency) what's wrong with it , does anything ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There are some directions:
|
Beta Was this translation helpful? Give feedback.
There are some directions: