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 …
-
Show this thread
-
Summarized it: https://github.com/yoshuawuyts/knowledge/blob/master/computers/performance.md#task-scheduling-strategies …
1 reply 0 retweets 4 likesShow this thread -
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.
1 reply 0 retweets 2 likesShow 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
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.