You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/11/06 01:35:01 UTC

[GitHub] [incubator-pinot] Jackie-Jiang opened a new pull request #4793: Fix the bug of uneven task distribution for threads

Jackie-Jiang opened a new pull request #4793: Fix the bug of uneven task distribution for threads
URL: https://github.com/apache/incubator-pinot/pull/4793
 
 
   E.g. 5 threads, 11 tasks
   If we pre-calculate the numTasksPerThread, each thread will get 3 tasks
   Thread 0-2 will get 3 tasks; thread 3 will get 2 tasks; thread 4 will get 0 task
   
   Instead, we should do round-robin, and thread 0 will get 3 tasks, thread 1-4 will get 2 tasks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org