Build architectures from blocks and test them against real traffic patterns
Serve a marketing website with global reach. The site is fully static — prebuilt HTML, CSS, JS, and images, no app server or database needed. Drop the assets into object storage so S3 alone can serve them, then put a CDN in front to handle the load cheaply and keep latency low worldwide.
Design a basic web application that can handle moderate traffic. Route requests through a load balancer to web servers backed by a database and cache.
Build a read-heavy API that serves product data. The database alone can't handle peak load — introduce a caching layer to absorb repeated reads and protect your database.
Handle a flash sale for an online store. Traffic spikes 10x during the sale window. Requests involve browsing (reads), adding to cart, and checkout (writes). The system must stay up during the spike or you lose revenue.
Build an image upload service where users submit images that need background processing. The API must respond quickly while heavy processing happens asynchronously via a message queue.
Power a product search feature that handles autocomplete and full-text queries. A relational database is too slow for search — use a dedicated search engine and cache hot queries for sub-100ms responses.
Build a chat service where users hold long-lived connections and broadcast messages to rooms. A streamer goes live midway and a flood of viewers joins. You need WebSockets, pub/sub fan-out, and history persistence — all under 200ms.
A fleet of 30,000 IoT sensors streams readings every second. Latency to the device is loose, but the write throughput is relentless and the dashboards expect fast range queries. Decouple the ingestion path, aggregate over windows, and persist to storage built for time-series.
Design the backend for a social media feed that serves personalized timelines. Read traffic is 50x write traffic. A viral post causes a sudden spike. You need caching, a database, and enough compute to survive the surge.
Build a globally distributed API that serves mobile and web clients across regions. Traffic comes in waves as different time zones wake up. The API must route through security layers, manage rate limits, and keep latency under control worldwide.