← Questions

Design an online auction with live bidding

0
MetaSystem designLast asked Feb 2026

A system design interview question asked in Meta's system design round, last asked Feb 2026. It tests real-time, consistency and bidding.

Design a scalable, highly available online auction marketplace. Sellers list items, buyers bid in real time, and everyone watching an auction sees the leading bid change as it happens. Bids spike hard in the final seconds of popular auctions, and a single hot auction can have hundreds of thousands of watchers.

Requirements

  • Functional: users browse and search live auctions. Sellers create an auction with item details, start and end time, starting price, an optional reserve price, a bid-increment scheme and an optional buy-it-now price.
  • Functional: buyers place bids while an auction is live and see the current price and bid history. Watchers get near-real-time updates when the leading bid changes, when the end time is extended and when the auction closes.
  • Functional: proxy bidding (a bidder submits a maximum and the system raises their standing bid only as far as needed to stay in the lead) and soft close (a bid in the last X seconds extends the auction by Y seconds).
  • Functional: at the end, exactly one winner is determined and an order is created, followed by payment.
  • Non-functional: millions of users, up to 500,000 concurrent live auctions and about 5 million concurrent watchers; p99 bid-to-screen latency under 200 ms; no lost winning bid and never two winners.

Clarifying questions

  • How are increments defined: a fixed amount or tiers by current price?
  • Which clock decides whether a bid was on time?
  • Can bids be retracted?
  • Is payment captured at close, or authorized when bidding?
  • What fraud patterns matter most?

What a strong answer covers

  • APIs: CreateAuction, GetAuction, PlaceBid (with an idempotency key), SubscribeAuctionEvents, CloseAuction, with their errors (too low, auction closed, duplicate).
  • Data model: users, items, auctions, bids (an append-only log), watchlists, payments, and the indexes the read paths need.
  • The pricing algorithm: how reserve, tiered increments, proxy maximums and buy-it-now combine into the displayed price, worked through on an example.
  • Consistency: a single writer per auction (a partitioned stream or an owner process per auction id) versus row locks versus optimistic versioning, and why one was chosen. The bid log is the source of truth.
  • Real-time push: polling versus long polling versus Server-Sent Events versus WebSockets, a fan-out tier for hot auctions, sequence numbers on events, and backfill on reconnect.
  • Sharding by auction id, and how a hot auction is handled when one partition gets most of the traffic.
  • Finalization: a timer service that closes auctions idempotently, handles soft-close extensions, creates the order, and recovers after a shard leader fails.
  • Late and retried bids, clock skew, and the server's clock being authoritative.
  • Fraud and abuse (shill bidding, sellers bidding on their own items, velocity limits), payment and escrow with second-chance offers, and an immutable, auditable bid log.
  • Rough capacity estimates, and the key metrics and alerts.

Follow-ups

  • Two bids for the same amount arrive 1 ms apart in the last second. Who leads, and how do you prove it later?
  • The partition owning a hot auction fails 3 seconds before the end. What happens?
  • The winner's payment fails. How does the second-chance offer work?
  • How would you detect a seller using a second account to bid up their own item?

Where it's asked

  • Meta · System design · Last asked Feb 202645 min · Design discussion; either an LLM-agent system or a classic product system · Nominally AI-enabled, but the assistant is often not used

What it tests

real-time · consistency · bidding

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing