bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/System Design/Architecture Building Blocks
System Design•Architecture Building Blocks

System Design: Load Balancing and Stateless Services

Traffic puzzle

Keep app servers replaceable

A notification API gets bursty mobile traffic during live sports events.

0/3 checks
Design choices

Traffic path

What is the clean service-tier shape?

Async work

What should leave the request path?

Failure mode

What keeps provider failures contained?

Puzzle target

Route traffic through replaceable services without keeping user state on one server.

○Traffic path: choose an answer
○Async work: choose an answer
○Failure mode: choose an answer
Traffic path

Not selected yet

Async work

Not selected yet

Failure mode

Not selected yet

Review

Complete each design choice to unlock the review. The feedback above will point out what your current tradeoff misses.

Flash cards

Review the key moves

1/3
Core idea

What is the main idea behind System Design: Load Balancing and Stateless Services?

Lesson checks

Practice each idea before moving on

Short Mimo-style checks built from this lesson's code, terms, and sequence.

1Quick choice

Which statement best captures the main point of this lesson?

2Order

Put the learning moves in the order that makes the concept easiest to apply.

- Place the load balancer, app servers, cache, and database in the request path.
System design is a sequence of explicit tradeoffs.
System Design: Load Balancing and Stateless Services

System design is a sequence of explicit tradeoffs. Start small: clarify the goal, estimate load, pick the simplest architecture, then name what breaks first.

Design surfaceWhat you decide
RequirementsFunctional behavior, constraints, and non-goals
ScaleReads, writes, storage, bandwidth, and latency target
ArchitectureClients, load balancer, services, cache, database, queue, and workers
ReliabilityFailure mode, fallback, retry, and metric
GoalSplit traffic across stateless application workers and keep sticky state out of the service tier.

Practice Task

  • Place the load balancer, app servers, cache, and database in the request path.
  • Use the design puzzle below to choose components and tradeoffs.
  • Explain the bottleneck before adding more infrastructure.

Next

System Design: Caching Strategy