This article about task schedulers & work stealing is so good. Goes in-depth on how to optimize distributing work amongst threads.
http://www.1024cores.net/home/scalable-architecture/task-scheduling-strategies …
-
-
Cool insight from the article: work-stealing is a reactive strategy and is more or less required for any effective scheduler. But only having reactive scheduling isn't ideal. You want to be proactive: so it's good to also employ work-distribution and work-balancing.
Show this thread -
I kind of think of work-balancing as a batch version of work-stealing. Work-distribution tries to assign new work as efficiently as possible. Work-balancing serves to correct big skews. Work-stealing serves as a last resort in case any of the above couldn't catch things in time
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.