A larger screen, mouse and keyboard make designing and running simulations much easier. Open this page on your laptop or desktop to continue.
Choose a problem. Build, run, and investigate.
Showing 19 of 19 challenges
A site on one web server and one database buckles at peak. Grow it into a design that stays fast, fits a budget and survives failures.
A social site still runs as it did at launch: users reach one web server directly, which reads and writes one relational database and serves photos and scripts from file storage.
On average the site takes 6,000 page reads, 1,000 writes and 15,000 file requests per second, and every evening the reads and file requests double for the peak. Pages and photos crawl, the database runs out of its 100 connections, and restarting any one machine takes the site down.
Every component has a monthly price, shown in its inspector. Pick a mode: each one is a different day, with its own budget, its own figures and its own goals.
Standard: The ordinary evening peak with a comfortable budget.
Your working architecture goes back to the starting setup above, and your next run starts a new attempt. Previous attempts and completion stay in your history.
An ordinary evening. For the middle fifth of the run, page reads and file requests double; then they fall back. Nothing breaks and nobody attacks.
The question is capacity and redundancy: every tier sized for the peak, and no machine the site cannot lose. The budget is generous.