You're on BookMyShow or Amazon. You see 1 seat left. You click it. Someone else clicks it at the exact same moment.
The Problem
Imagine 1000 people are staring at the same "1 seat left" screen. When multiple people click Book Now at the same time, the server receives all those requests together.
Without any protection — all of them could "successfully" book the same seat. That's a disaster.
How it's actually solved:-







