Distributed Systems
Distributed lock
Distributed lock coordinates concurrent access to a shared resource.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Distributed Systems
- LeaseBeginner · 4 min
Lease grants time-bounded authority to an owner.
- Fencing tokenBeginner · 4 min
Fencing token monotonically identifies ownership epochs.
- At-least-onceBeginner · 4 min
At-least-once delivers messages one or more times.
- At-most-onceBeginner · 4 min
At-most-once may drop messages but avoids redelivery.
- Exactly-once effectBeginner · 4 min
Exactly-once effect requires end-to-end atomicity or deduplication.
- BackpressureBeginner · 4 min
Backpressure propagates downstream saturation to upstream producers.