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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner