call(back)

System Design Primer

Three designs that cover the moves most loops test: limiting load, read-heavy serving, and fan-out.

1

Design a Rate Limiter

System Design · Token bucket, sliding window, and where the counters live.

mediumSign in to star problems
2

Design a URL Shortener

System Design · The classic: encoding, storage, and redirects at scale.

mediumSign in to star problems
3

Design a News Feed

System Design · Fan-out on write vs. read, ranking, and the celebrity problem.

hardSign in to star problems