Shopify: The Celebrity Flash Sale
Hard · system design problem
A celebrity’s product drop brings eighty times their usual traffic onto the shared platform. No other merchant may notice, no fan’s order may be lost — and the drop starts in one minute.
Inspired by celebrity product drops on shared e-commerce platforms, which famously overwhelmed shared infrastructure and led to per-merchant isolation and checkout throttles. Here: every merchant’s storefront runs on one shared stack (load balancer, storefront service, Redis, PostgreSQL primary). The celebrity’s fans reach it through their own DNS name. At T+60s the drop opens: fans ×80 for three minutes — 85% of them refreshing the product page (the same for everyone), 15% checking out — and half of all product-page reads are for the one product. A fan’s order may be confirmed up to five minutes later, but must not fail. The SLO counts every shopper and fan, over the whole drop.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.