Grokking Modern API Design Interview
Vote
0% completed
Interview Question: Design a Booking API
The interview question is:
Design a Booking API.
The pressure is two callers wanting the same slot while one of them needs several minutes to pay.
An availability read cannot reserve anything. If it did, every cached screen would become a lock. A cart-like selection cannot hold capacity forever. If payment begins without a reservation, two callers may both be charged for the last place.
The contract needs a temporary promise with an exact expiry. That promise is a resource.
Scope
"I will design discovery of capacity-based slots, temporary holds, booking confirmation that call
.....
.....
.....
Like the course? Get enrolled and start learning!