Explain it in 60 seconds
Fencing tokens
System Design · Distributed Systems · Intermediate
What is a fencing token, and why are distributed locks unsafe without it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Lock service returns increasing token.
- Holder sends token with each write.
- Storage rejects older tokens.
- Protects against paused/expired holders.
- Locks alone can't guarantee mutual exclusion.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.