
Episode 87 · Season 1
Do locks slow down your code?
About this episode
Yes. Locks slow down your code. But they enable your code to be correct! It’s a tradeoff, but who would ever trade correctness for a little speed? In this episode, we look at the tradeoff, how to make locks less of a speed tradeoff, and some alternatives.
More from The Eric Normand Podcast
In this episode, I introduce the stratified design lens, which talks about how and why we split things into layers.
In this episode, I introduce the time lens, and I posit a law about representing time in complex domains.
In this episode, I introduce the volatility lens, which seeks to help us write code that deals with a changing world.
In this episode, I introduce the architecture lens, its questions, and its goal of modeling architectural domains to manage complexity.
In this episode, I introduce the executable specification lens, its questions, and its goal of getting to runnable, testable code as quickly as possible.