Replies: 1 comment
-
I think it's difficult to give precise numbers since there're too many variables involved (e.g. OS, network bandwidth, etc). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Could you provide any insights to the correct concurrency setting in a fixed resource environment like kubernetes?
For example:
Say I have a worker that is allocated 0.5CPU and performs some I/O based tasks like taking the task payload and writing to a DB, Im assuming that setting to concurrency of10 for example should bottleneck anything.
On the the other hand some other worker instances perform heavy CPU based tasks like data analysis etc. I think I should be setting the concurrency to 1, as i think the go routines will try steal cpu from each other.
Any advice would be much appreciated. Thank you
Beta Was this translation helpful? Give feedback.
All reactions