2min chapter

 Rustacean Station  cover image

Tokio with Carl Lerche

Rustacean Station

CHAPTER

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.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode