SystemTutor
About
Sign in
Loading course documentation…
SystemTutor

COURSES

  • Data Structures & Algorithms
  • CSS MasterclassNew course
  • System DesignNew course

PRACTICE

  • Algorithm practice
  • CSS practice

LEGAL

  • Privacy Policy
  • Terms of Service
  • About

© 2026 SystemTutor. All rights reserved.

Built with 🫶 by Shatlyk

System design
Design Process and RequirementsBack-of-the-Envelope Estimation Scope and size a short-link service Keep the redirect service online
Design foundations

Keep the redirect service online

Size a fleet for peak traffic, then take servers offline and watch what happens to incoming requests.

A concert announcement sends 7,000 redirect requests per second to a ticket link. Load tests show that each server can sustain 1,000 redirects per second. The load balancer immediately spreads traffic evenly across healthy servers. Any requests above their combined capacity are dropped.

Challenge 1 of 2

What’s the smallest fleet that can handle peak traffic when one server goes offline?

Peak traffic is 7,000 req/s. Each healthy server handles 1,000 req/s.IncorrectOnly 6 servers stay online. They drop 1,000 req/s. Try a larger fleet.Correct8 installed − 1 offline = 7 healthy servers. This is the smallest fleet that serves all 7,000 req/s.Partially correctAll redirects succeed, with 2,000 req/s to spare. A smaller fleet can also handle the outage.
Starting fleet
Ticket traffic through the load balancer and redirect fleetVisitorsLoad balancerRedirect fleet
Online servers
1 / 1
Served req/s
1,000
Dropped req/s
6,000

How is this practice?

Previous lesson Scope and size a short-link serviceNext lessonData Storage and Database Choices
Edit on GitHubReport on GitHub