00 /What You Will Learn
By the end you will be able to
- Explain a race condition in one sentence, with a bus-seat example.
- Reproduce a lost update and a check-then-act bug on purpose.
- Fix both with a lock, and say what the fix costs.
- Explain why a lock inside one program does not protect other programs.
- Say why servers on different machines need a lock that lives outside the programs.
Before you start
You need Docker Desktop running. You need to be able to read a few lines of simple Python. The code runs inside a container, so you install nothing on your laptop.