Rustacean Station  cover image

Tokio with Carl Lerche

Rustacean Station

00:00

How to Balance Work Across Threads

The Mio uses a work-stealing scheduler to keep all the work on one thread. This means that there is less overhead in terms of synchronizing threads, but it can lead to underutilization if not balanced. The Tokyo blog post outlines how Tokyo learn from Go's scheduler and reborrow the lots. A lot of implementation is shared, I guess, like the strat algorithms,. Obviously you can't just take Go copy and paste it, but a lot of the algorithms are shared between Tokyo and Go.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app