sd-prep
System-design interview prep. Main version per topic: Hello Interview flow with ADHD-board rules.
Checking the offline copy...
The questions (12)
3Wallet transfers + analytics
open the main page6Ticketmaster (event ticketing)
open the main pagecovers:
seat holds with hold_id fencing, the deliberate two-transaction gap, on-sale waiting room,
seat-map staleness, outbox and compensation
7Facebook Messenger
open the main pagecovers:
the connection fleet vs the service fleet, the session registry, the per-conversation seq,
idempotent sends, multi-device sync, group fan-out, delivery cursors and presence
8User tracking events (top K by type)
open the main pagecovers:
1,000 types means exact counts not a sketch, one row per bucket, local-global aggregation for the
hot event type, aligned bucket decomposition, late events, GDPR by crypto-shredding
9Fraud prevention on a trading platform
open the main pagecovers:
three tiers by latency, the reversibility asymmetry (orders fail open, egress fails closed),
the 10 ms budget, settlement clock and beneficiary cool-off, entity resolution for rings,
false positives and the analyst loop
10End-to-end CI/CD for client updates
open the main pagecovers:
build once and promote, canary waves and draining a stateful fleet, 4 PB of patch egress,
download early and activate late, version skew and expand-migrate-contract,
flags as the client's rollback
11Dating app geolocation (Tinder / Bumble)
open the main pagecovers:
fifteen-minute staleness as the budget that buys everything, cells not radii and the
neighbour boundary bug, density from Manhattan to Montana, target a count not a distance,
the cached deck so swipes cost nothing, and trilateration
12UGC asset delivery (avatars and skins)
open the main pagecovers:
refusing the delivery-versus-invalidation trade by naming bytes with their own hash,
a 400 byte manifest in front of an immutable store, the 50M item cold tail and the
regional shield, the hot drop, takedown as refusal not purge, and avatar composition
13Real-time multiplayer (Roblox)
open the main pagecovers:
server as the only truth for anything scored or spent and inputs as the only thing a
client sends for those, matchmaking as placement, the 60 Hz simulate / 20 Hz replicate
loop with prediction and reconciliation, the O(N²) bandwidth math and interest
management, regions and an edge that terminates but does not simulate, crash to
checkpoint to RESUME in ten seconds, cheating versus latency
Drill and reference
Flashcards
drill all thirteen topics →226 cards, generated from the thirteen topic pages above. Drill one topic, or one kind of section across all thirteen (every set of functional requirements, every API, every deep dive).
Kafka for system design
open the referencecovers:
one topic and five views of it, the execution model, the core objects, keys and ordering
and partitioning, delivery semantics, the patterns interviewers listen for,
cluster and operations, the configuration cheat sheet
Redis for system design
open the referencecovers:
one key and six value shapes, the single-threaded execution model, the commands worth
knowing per structure, expiry and eviction, the atomicity toolbox (MULTI, Lua, WATCH),
the patterns interviewers listen for, replication and persistence and cluster,
the complexity cheat sheet
SQL locking cheat sheet
open the cheat sheetcovers:
FOR UPDATE / FOR SHARE / SKIP LOCKED / NOWAIT, the conflict matrix, deadlock ordering,
advisory locks, DDL locks, isolation levels, MySQL gap locks