# Do locks slow down your code?

> Episode of [The Eric Normand Podcast](https://podistic.com/podcast/the-eric-normand-podcast.md) · Published March 18, 2019 · Duration 21:31 · Episode 87, season 1

- **Listen on Podistic:** https://podistic.com/episode/do-locks-slow-down-your-code
- **Audio:** https://media.transistor.fm/fc611924/4b76b67a.mp3 (audio/mpeg)

## 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.
