System design
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
Problem breakdowns, key technologies and core concepts for system design interviews. Free to read.
29 write-ups
| Title | Difficulty |
|---|---|
| Design Spotify Stream any of 100 million tracks in a few hundred milliseconds, keep playlists consistent under shared edits, control playback by voice across devices, and sync audiobook progress. | Medium |
| Design Truecaller Show who's calling and whether it's spam before the second ring, from a crowdsourced directory of billions of numbers, with spam reports that resist abuse. | Medium |
| Design Typeahead Autocomplete Return the top ten query suggestions for every keystroke in under 100ms, keep them fresh as trends change, and handle typos, next-word suggestions and instant results. | Medium |
| Redis What you need to know about Redis for system design interviews, including its data structures, single-threaded model, expiry and eviction, persistence, replication, Redis Cluster, common patterns and Memcached vs Redis. | |
| Graph Databases What you need to know about graph databases like Neo4j for system design interviews: the property graph model, Cypher, index-free adjacency, fan-out, super nodes and sharding graphs. | |
| gRPC What you need to know about gRPC for system design interviews, including Protocol Buffers, HTTP/2 streams, the four call types, deadlines, load balancing long-lived connections and REST trade-offs. | |
| Caching Strategies Where to cache, how to read and write through a cache, eviction, invalidation and its race conditions, and the failure modes that matter at scale: stampedes, penetration, avalanches and hot keys. | |
| Multi-Region Architecture How to run one system in several regions. Latency physics, active-passive vs active-active, home regions and geo-partitioning, cross-region replication, global routing, failover, RPO/RTO and data residency. | |
| What Happens When You Type a URL The journey from typing a URL to a rendered page. HSTS, DNS resolution, TCP, TLS and QUIC, CDNs and load balancers, the server, and browser rendering, with a latency budget. |