---
beat: system-design
articles: 22 · answers: 110
latest: August 20, 2026
---

System Design

Articles about system design.

System Design10 min

Why Google Maps Computes Shortcuts Offline

Contraction Hierarchies precomputes shortcut edges offline so routing queries skip neighbourhood streets and touch only 2,000 nodes in under 10 milliseconds.

System Design8 min

CRDTs: Conflict-Free Collaboration at 60fps

Every user edits a local replica; operations merge automatically into an identical state regardless of arrival order, with no central locking.

System Design7 min

Why Uber Tiles the Planet in Hexagons

Hexagons with equidistant neighbors replace lat/long trigonometry with O(1) table lookups for finding nearby drivers and calculating surge pricing.

System Design7 min

LSM-Trees vs B-Trees: Why Cassandra Chose Sequential Writes

B-trees seek random disk positions. LSM-trees buffer in memory and flush sequentially, converting random I/O into sequential writes for millions of ops/sec.

System Design6 min

Count Billions in 12 Kilobytes

HyperLogLog estimates cardinality by reading leading zeros in hashed values, trading 1% error for fixed memory.

System Design7 min

Merkle Trees: How Git Detects Changes in Milliseconds

Git hashes files into nested cryptographic trees to skip unchanged directories in one comparison, finding changes across millions of files faster than scanning.

System Design7 min

Bloom Filters: The One-Way Membership Test

A probabilistic data structure: zero false negatives, tunable false positives. Check membership in RAM with bits instead of database queries.

System Design6 min

Columnar Storage: Why Column Stores Beat Row Stores for Analytics

Columnar storage reads only needed columns, skipping the rest. Dictionary encoding shrinks data 50–100×. Analytics queries go from minutes to milliseconds.

System Design6 min

Optimistic UI: The Illusion of Instant

Apply mutations locally and reconcile in the background, collapsing perceived latency from 150 ms to instant. Rollback, idempotency keys, offline queues.

System Design7 min

The Inverted Index

A sorted dictionary mapping terms to document IDs. Transform search from O(corpus size) to O(1) lookup, enabling full-text search at scale.

System Design4 min

How Linux RCU Unlocks Read-Side Scaling

RCU lets millions of readers run lock-free while a single writer updates state by copying, mutating off-to-the-side, and atomically flipping a pointer.

System Design6 min

When 87% of Your Cache Vanishes

Consistent hashing maps nodes and keys to a circle, so adding a server moves only 1/N of keys instead of almost all of them.

System Design7 min

Copy-on-Write Snapshots

fork() shares parent memory, copying only written pages for non-blocking snapshots. Write-heavy loads can spike memory to 2x under load.

System Design7 min

Why Raft Consensus Prevents Split-Brain

Raft ensures only one partition can reach quorum, making split-brain impossible. Writes commit to majorities. Powers etcd and CockroachDB.

System Design7 min

Token Buckets: Bounding Rate Limits at the Edge

Fixed-window counters leak at boundaries. Token buckets refill steadily, absorb bursts, and bound the sustained rate strictly—the algorithm Stripe uses.

System Design7 min

Time-Travel Fairness: How Servers Rewind for Lag Compensation

Why lag compensation rewinds the game world to when a shot was fired, and why victims experience the cost.

System Design7 min

The CAP Theorem Is Not a Menu

Network partitions force a hard choice: refuse writes (CP) or accept and diverge (AP). Why the two-of-three myth is wrong, and what PACELC really tells us.

System Design14 min

Why Raft Won: Consensus Built for Humans

Paxos is correct but hard to understand; Raft made consensus explicit. Same guarantees, different adoption. Why comprehensibility matters in algorithms.

System Design5 min

Tries: Why Autocomplete Doesn't Scan Every Word

A trie finds all words with a prefix in O(p) time, independent of dictionary size. Radix compression and top-k heaps make autocomplete instant.

System Design7 min

Skip Lists: The Shortcut Nobody Rotates

Balanced trees rebalance with rotations. Skip lists layer express lanes with random promotion—same O(log n) search, simpler locking.

System Design8 min

Vector Clocks: Detecting Causality in Distributed Systems

Vector clocks solve distributed ordering: when wall-clock timestamps fail to detect concurrent writes, vector clocks reveal true causality and conflicts.

System Design7 min

Operational Transforms vs CRDTs

Why Google Docs needs a server and Figma doesn't: how two competing approaches to concurrent editing resolve the same-string conflict, and when each wins.

Questions we answer on this beat

See all 110 system design answers →

Entities on this beat

Frequently asked questions

How many System Design articles has Crashtech published?

22 articles on this beat, the most recent published August 20, 2026 and the earliest July 30, 2026. 110 questions have a dedicated answer page with an authored direct answer.