You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v2, we don't have perfect load balancing but the workload should be more evenly distributed.
Some details in v2:
because each worker will prefetch multiple jobs in bulk by a fixed amount of execution time (to reduce load on redis and
kernel system calls), it depends on how the max execution time per job is defined. For example, if we prefetch 60s chunk of jobs, and your max execution time is 10s. each worker goroutine will fetch at most 6 jobs. This might cause the other workers to be idle if you only have 6 jobs in total, but this should be a rare case.
in a normal case, all 5 * 10 = 50 worker goroutines will compete evenly on who can run that 10 concurrent jobs across 5 servers at any given time.
I expect every server has 10 concurrency jobs running. how can I do this?
The text was updated successfully, but these errors were encountered: