Design the eBay Auction Bidding Service for Last-Second Bids
Last updated: November 29, 2026
Quick Overview
Design the backend that accepts bids on eBay auctions, runs proxy bidding, shows the current price live to watchers, and closes auctions exactly at their end time even when a flood of bids arrives in the final seconds.
eBay
November 29, 20260
0
0 solved
Design the backend that accepts bids on eBay auctions, runs proxy bidding, shows the current price live to watchers, and closes auctions exactly at their end time even when a flood of bids arrives in the final seconds.
eBay auctions end at a fixed time with no extension, so last-second sniping creates sharp write spikes on single hot items. The interviewer checks per-item serialization, a durable bid log, a fair and auditable close, and how you push price updates to millions of watchers.
What the Interviewer Expects
- Serialize bids per item with a single writer or conditional writes
- Persist every bid in an append-only log before acknowledging
- Define a precise cutoff using server receive time
- Fan out price updates through pub/sub and push connections
- Close auctions with a scheduler plus an idempotent settlement step
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you handle a celebrity charity auction where one item gets 50,000 bids per minute at the end?
- A region fails 3 seconds before close. What happens to bids in flight?
- How do you prove to a disputing buyer that their bid arrived late?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: place a bid with a max amount, see the current price and leader, get outbid notifications, close auctions at end time and hand the winner to checkout. Non-functional: no lost or double-cou...
High-Level Design
Clients call a Bid API behind a gateway. The API routes by item_id to a partition of a bid log (Kafka-style, partitioned by item). A bid engine consumer owns each partition and is the single...