SYSTEMSIM
Library

Library

Content Catalog

Modules organized by source. Open any ready module to play it; coming-soon items are listed for reference. Press ⌘K anywhere to fast-switch.

System Design Interview Vol 1

BookAlex Xu · 2020
Desktop only

Chapter 1

ready

Scale to Millions

Build an architecture that scales from one server to millions of users, stage by stage.

scalingfundamentals

~20 min

Desktop only

Chapter 2

ready

Back-of-the-Envelope Estimation

Reference cards and interactive calculators for the numbers every architect should be able to estimate quickly: data volumes, operation latencies, availability tiers, and a worked QPS-and-storage example.

estimationfundamentals

~15 min

Desktop only

Chapter 3

ready

Interview Framework

The 4-step framework Alex Xu prescribes for system design interviews, walked through end-to-end on the news-feed reference design — and a live Mock Interview Mode that role-plays the framework with a soft timer, contextual hints, and a wrap-up comparison against the book's reference design.

frameworkreferencenews-feedmock-interview

~60 min

● Mobile ready

Chapter 4

ready

Rate Limiter

Five algorithms for capping traffic — token bucket, leaking bucket, fixed window, sliding window log, sliding window counter — with their pros, cons, memory profiles, and where each fits in production. Plus the Redis-backed architecture, distributed-correctness concerns (race conditions, multi-instance synchronization), and HTTP 429 semantics.

rate-limitingalgorithmsredisdistributed

~25 min

● Mobile ready

Chapter 5

ready

Consistent Hashing

Why naïve hash-mod-N redistributes most keys when the cluster changes, and how the hash ring fixes it. Includes the rehashing-problem demo, the hash ring with clockwise lookup, add/remove animations with affected-arc highlighting, the two distribution issues, and virtual-node smoothing — plus a live backend stress test in the upcoming Live Lab section.

consistent-hashingdistributionringvnodes

~30 min

● Mobile ready

Chapter 6

ready

Design a Key-Value Store

From a single-machine hash table to a Dynamo/Cassandra-shaped distributed store. Walks the CAP tradeoff, data partition & replication, the N·W·R quorum math, vector-clock conflict resolution, gossip / hinted handoff / Merkle anti-entropy, the peer-ring architecture, and the LSM-tree storage engine — plus two backend-backed Live Labs (Quorum Playground, Merkle Tree Sync).

key-value-storedistributed-systemsquorummerkle-treecap-theoremvector-clocks

~45 min