Lesson 6 of 12
Concurrency in LLD
Find the lost update in a booking system and fix it with locks, compare-and-set or holds.
In this lesson
- Interleaved operations
- Find the lost update
- Schedule the tasks
- A threaded Python example
- Booking the last seat
- Deadlock
- What stays true
- Costs and tradeoffs
- Common mistakes
- Related topics and practice
Ultra Premium
Unlock this lesson
Ultra Premium opens the 12 premium lessons in Patterns, along with the rest of WhiteBox's premium lessons and problems.
Not ready yet? Read the free lesson: Backpressure