Every video, written up.
Each video gets a full written breakdown with diagrams, so you can watch it, skim it, or come back to it later.
· 10 min readThe file that crashed 8.5 million Windows computersA routine CrowdStrike configuration update, live for 78 minutes, took down about 8.5 million Windows PCs. Kernel mode, a template with 21 fields and code that supplied 20, a boot loop, and what a staged rollout changes.
· 9 min readHow Kafka handles millions of messages per secondKafka is fast and durable because of one rule, never change the past, only add to it. The append-only log, partitions and consumer groups, zero-copy reads, replication and acks, and compaction, with the limits stated.
· 9 min readLoad balancers explained: layer 4 vs layer 7, algorithms and health checksHow one address can serve millions of requests. Layer 4 versus layer 7, how a balancer picks a server, why consistent hashing exists, what health checks catch, and why sticky sessions are usually a smell, with numbers from tested code.
· 14 min readWhy did you get the same notification twice? Designing a notification systemBuild a notification system one failure at a time. Timeouts, queues, the outbox, idempotency keys, retries with jitter, dead-letter queues, channels, fan-out and tracing, and why the goal was never to prevent duplicates, only to make them harmless.
· 12 min readDatabase sharding explained: from one box to hot shardsThe order engineers reach for fixes when a database hits its limit, and what each one breaks: indexes, a bigger machine, caching, replicas, then sharding, with shard keys, routing, hot shards, rebalancing and failover.
· 8 min readHow Discord moved trillions of messages from Cassandra to ScyllaDBDiscord changed databases twice. The wins came from the data model, a Rust shield in front of the database, and a migration tool built in an afternoon. What each fix did, and why.
· 7 min readHow ChatGPT scales to billions of prompts a dayGPU batching, the KV cache, model routing and rate limits explained as one stack, with a clear line between what OpenAI has said publicly and the standard techniques that explain it.
· 11 min readHow to design a rate limiter that survives an OTP attackWhy a counter in memory lets 9 requests through when the limit is 3, and the design that fixes it step by step: shared state, sliding windows, one atomic check, layered keys and a plan for when Redis fails.
· 5 min readWhy Prime Video moved a microservices tool back into one processAmazon's video-quality monitoring tool cost too much and hit a scaling wall as a serverless pipeline. Rebuilt as one process, it cost over 90% less. What actually changed, and what it does not prove.