3min chapter

Signals and Threads cover image

State Machine Replication, and Why You Should Care with Doug Patti

Signals and Threads

CHAPTER

Inversion of Control

Inversion of control goes back to a very old idea where in the mid seventies, if you were writing an application on the eunich system that needed to handle multiple different connections. And so it's inverted in the sense that rather than expressing your code, as i want to do, one damned thing after another, you essentially write it in terms of event handler. We don't take advantage of using multiple threads because we still have to process every message one at a time. The testability story talked about race conditions and how they are easy to simulate. That is purely because you are able to control precisely what goes into the system and when to pause,. To start looking to examine the

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