Workspace loading
Preparing your next step…
Reconnecting your learning path, saved progress, and study tools.
Workspace loading
Reconnecting your learning path, saved progress, and study tools.
Designing scalable systems: the building blocks, the trade-offs, and the classic interview case studies.
Vertical vs horizontal scaling, statelessness, and why reads and writes scale differently.
Study this topicQuick capacity math: QPS, storage, and bandwidth — expected in every design interview.
What you actually give up in a partition, and the spectrum from strong to eventual consistency.
Study this topicA repeatable structure: requirements → estimation → high-level design → deep dive → wrap-up.
Study this topicGlobal traffic distribution and serving content close to users.
Study this topicMatching database families to access patterns — the most common design decision.
Study this topicCopies of data for availability and read scaling — and the lag that comes with it.
Where caches live (client → CDN → app → DB) and the core patterns.
Study this topicInvalidation, stampedes, and hot keys — where caching bites back.
Study this topicAsync communication patterns and their delivery guarantees.
Study this topicThe distributed log: partitions, consumer groups, and stream retention.
Study this topicWhy distributed systems are hard: partial failure, unreliable networks, and clocks.
Study this topicAgreement among unreliable nodes: quorums, Raft, and leader election.
Study this topicThe honest trade-offs, migration paths, and the modular monolith middle ground.
Study this topicDesigning with functions and edge compute — cost, cold starts, and state.
Study this topicThe canonical warm-up: ID generation, redirects, and read-heavy caching.
Study this topicAlgorithms, distributed counters, and where the limiter sits.
Study this topicLSM trees vs B-trees: why some databases write fast and others read fast.
Study this topicWindowing, watermarks, and exactly-once in Flink-style systems.
Study this topicThe two families of concurrent-editing algorithms and their trade-offs.
Study this topicInverted indexes, analysis, and ranking — designing search itself.
Study this topicTokens are the scaling unit: batching, KV caches, and GPU capacity math.
Study this topicProduction retrieval: pipelines, reindexing, and multi-tenant isolation.
Study this topicActive-passive to active-active: data residency, conflicts, and failover drills.
Study this topicBlast-radius isolation: cells, routing, and shuffle sharding.
Study this topicReverse proxies, gateways, and the cross-cutting concerns they absorb.
Study this topicSplitting data across machines: strategies, hotspots, and resharding pain.
Study this topicBlob stores, search engines, time-series, and columnar analytics.
Study this topicEvents as the system backbone: choreography, sagas, and eventual consistency in practice.
Study this topicDesigning operations that survive retries — a favorite senior interview probe.
Study this topicKeeping multiple services consistent: 2PC, sagas, and when to avoid both.
Study this topicProtecting systems under load: algorithms and graceful degradation.
Study this topicBaking operability and security into designs — the wrap-up every strong candidate includes.
Study this topicWhatsApp-style messaging: connections, fan-out, ordering, and offline delivery.
Study this topicFan-out on write vs read, ranking, and celebrity users.
Study this topicChunking, deduplication, sync, and metadata at scale.
Study this topicMulti-channel delivery with retries, preferences, and dedup.
Study this topicUpload pipeline, transcoding, adaptive streaming, and CDN strategy.
Study this topicAutocomplete at scale: tries, ranking, and the update pipeline.
Study this topicFrontier management, politeness, and dedup at billions of pages.
Study this topicGeo-indexing and matching: the location-based classic.
Study this topicCron at scale: leases, exactly-once execution, and misfire policies.
Study this topicMoney movement done right: ledgers, idempotency, and reconciliation.
Study this topicInventory under contention: holds, overbooking, and saga checkouts.
Study this topicConcurrent editing: OT/CRDT applied, presence, and offline merge.
Study this topicStream aggregation with money on the line: exactly-once counts and late events.
Study this topicChatGPT-scale: session state, streaming fan-out, inference fleets, and cost control.
Study this topicThe canonical 2026 interview question: ingestion → retrieval → generation with evals and tenancy.
Study this topicFrom MapReduce to Spark and the modern lakehouse stack.
Study this topicReliably syncing caches, search, and warehouses from your OLTP source of truth.
Study this topicUUIDs, snowflakes, and sortable IDs — a deceptively deep warm-up question.
Study this topicBloom filters, HyperLogLog, and count-min sketch in real architectures.
Study this topicCandidate generation to ranking — enough to design the feed behind the feed.
Study this topicThe infrastructure view: capacity math, recall/latency trade-offs, and multi-tenant vector serving.
Study this topicThe 2026 debate: stuff the window or retrieve — a cost and quality analysis.
Study this topicDesigning the economics: routing tiers, caches, and per-tenant budgets.
Study this topicLong-running tool loops: sandboxing, state, and human gates at scale.
Study this topicIsolation models and noisy-neighbor control at the architecture level.
Study this topicPII, deletion pipelines, and retention as design constraints.
Study this topic