Guides
System design, explained and drilled
System design
- p99 latency vs p95: why tail latency decides fan-out designsp99 is the slowest one in a hundred requests, p95 the slowest one in twenty. Why a 10 ms shard p99 becomes a 26 ms request p99 at fan-out 100, and four fixes.advanced · 6 min
- Rate limiter system design: token bucket vs sliding window, at scaleDesign a rate limiter for 120,000 requests a second: token bucket vs sliding window, one Redis script, counters shared by 40 gateways, and failing open.intermediate · 8 min
- Thundering herd vs cache stampede: what breaks and five ways to fix itOne hot key expires and every reader misses at once. What a cache stampede is, why the database cannot recover alone, and the fixes interviewers expect.intermediate · 6 min