Chapter 25
Concurrency and Coordination
Real services handle many requests at once, and many machines must agree on who does what. Learn about race conditions and locks, distributed locks with leases and fencing tokens, and optimistic versus pessimistic concurrency.
Intermediate
3 min2Distributed Locks, Leases and Fencing TokensAdvanced
4 min3Optimistic vs Pessimistic Concurrency, Deadlocks and TransactionsAdvanced
3 minChapter quiz
Concurrency and Coordination · 4 questions
1.A race condition is:
2.What does a fencing token protect against?
3.Optimistic concurrency control is best when:
4.Which prevents most deadlocks?
0 of 4 answered

