Grokking Modern API Design Interview
Vote

0% completed

​

Interview Question: Design a Booking API

The interview question is:

Design a Booking API.

The main challenge is preventing two callers from reserving the same capacity while giving one caller time to complete payment.

An availability read reports capacity; it does not reserve it. A separate temporary hold gives the customer time to pay without allowing abandoned selections to reserve places indefinitely.

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 calls the payment service,

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content