E-commerce Flash Sale
Hard · system design problem
Black Friday: 5× traffic, and every order hits a single MySQL primary.
Your shop API reads the catalog through Redis and writes orders synchronously to MySQL. Marketing just launched a 70%-off flash sale without telling engineering. Traffic is about to go 5×, writes included.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.