~learn.
lecture · 13:30 · 4 checkpoints · browser voiceAdvanced

Design an Online Auction

Timed auctions with a five-state life cycle, tiered minimum raises, validate-then-append under a lock per auction, a clock that decides when an auction ends, a two-minute soft close with a lazy deadline heap, idempotent bid ids, events published after the lock, and a 20-thread race for a brass lamp.

01 · Twenty bids, one lamp
LLD-19 · Design an Online Auction

Twenty people. One brass lamp. The same millisecond.

Twenty bids, one leader

Twenty people bid 2,000 rupees on the same brass lamp, in the same millisecond.