← CatZep/Engineering Guides/System Design
The building-block interview questions.
Learn the reason behind each component
5 independent guides. Each includes local concept explanations, a correctness contract, a worked failure trace, and a runnable Python learning model.
Read in this order: requirements → concepts → data flow → concurrency and failure behavior → sizing → worked example. Explain what can fail before choosing a technology.
5 guides
Spread a key-value store across changing servers without moving nearly every key, then reason separately about replication and read correctness.
Consistent hashing · Virtual nodes · Quorum · Linearizability · Vector clocks · Merkle trees · TombstonesTurn a quota into an explicit admission rule, choosing whether it limits bursts, trailing-window traffic, or a long-run rate.
Token bucket · Time windows · Atomic Redis scripts · Wall and monotonic clocks · Backpressure and load shedding · LeasesEncode distributed IDs while separating uniqueness, approximate timestamp order, and safe restart behavior.
Snowflake IDs · Wall and monotonic clocks · Leases · Fencing tokens · Optimistic concurrency and compare-and-setBuild an atomic short-code mapping and a correct redirect path, including expiry, caching, and guessability.
Base62 encoding · Idempotency keys · Cache-aside and invalidation · Optimistic concurrency and compare-and-set · ReplicationSchedule a bounded web crawl without overwhelming websites, losing queued URLs, or assuming every duplicate test is exact.
Crawl frontier and politeness · Bloom filters · Deduplication · Transactional outbox · Leases · Backpressure and load sheddingNo guide matches. Try a broader concept such as replication or retries.
Download the Python concept models · Python 3.10+, no packages required.
Student clarity and correctness review · 19 October 2026