Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Supplier Booking-Pull Platform

Design secure, stable supplier reads over bookings committed by an independent checkout path.

Problem statement

Design a supplier booking-pull platform in which checkout commits bookings through an internal write API while suppliers retrieve their bookings through an external read API.

Include authentication, rate limiting, separated read and write paths, caches or read replicas, stable pagination, and a production-readiness test strategy.

For this exercise, assume 1,000 suppliers, 5,000 supplier reads per second at peak, 50 million retained bookings, a 60-second projection-freshness target, and 500-millisecond p95 page latency.

A supplier must never observe another supplier's booking, one paginated snapshot must not silently skip or duplicate a committed booking, and every read projection must be rebuildable from durable booking evidence. Keep payment and supplier fulfillment outside scope.

What to build

  1. Checkout durably commits a booking without depending on supplier-read availability.
  2. An authenticated supplier reads only its committed bookings through stable cursor pagination with freshness metadata.
  3. Per-supplier authorization and quotas contain abusive or faulty clients.
  4. Operators can verify contracts, load behavior, dependency failure, projection rebuild, and recovery.

At scale

  • For this exercise, assume 1,000 suppliers and 5,000 supplier reads per second at peak.
  • For this exercise, retain 50 million bookings and serve snapshot-stable pages within 500 milliseconds at p95.
  • For this exercise, supplier projections may lag committed bookings by at most 60 seconds and must be rebuildable from durable evidence.