Launch Day, One Hot Item
Easy · system design problem
A launch multiplies catalog reads by 5 and half of them ask for one item. A Redis cluster tops out below the load at any size.
catalog-fn (a Lambda fleet) reads product data straight from MySQL through a connection proxy: 40,000 reads/s, which three read replicas absorb. At T+20s the console launch goes live: reads jump 5× for the rest of the day and 50% of them ask for the same item. You need a cache tier between catalog-fn and the database — but a hot item lives on one cache node, so that node’s throughput decides everything. Responses are personalized (price, stock, region), so nothing can be cached at the edge, and no new replicas can be seeded today.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.