How the Machinery Actually Works
Long-form engineering writing with diagrams you can poke at. No launch posts and no listicles: one system per article, taken apart until the surprising part is obvious.
Start here
DatabasesWhat Postgres Actually Does With Your Data
An UPDATE never touches your row in place, a COMMIT does not mean your data is on the heap file, and your index is sometimes ignored on purpose. Here is the machinery underneath all three.
9 min readRead the postEverything else we have written
- Build it yourselfLet's Build a Load Balancer From ScratchPicking a backend is one line of code. Everything that makes a load balancer trustworthy — health checks, draining, hashing, backpressure — is the other ten thousand.9 min read
- Infrastructuren8n vs. Kestra vs. Airflow: Picking an OrchestratorAll three run steps in order and retry what fails. They were built for three different people — and that, not the feature list, decides which you run.9 min read
- ProtocolsThe Magic of WebSockets: How Your App Stays Live Without AskingWebSockets replace "are we there yet" with a phone line that stays open. Here is the handshake, the framing, what HTTP/2 changed, and the limits you should know.9 min read
- Build it yourselfLet's Build a URL Shortener That Survives a Billion LinksA URL shortener is the smallest system that still has every hard problem in it — key generation, read/write asymmetry, caching, abuse. Here is the whole design.7 min read
- InfrastructureWhat a CDN Actually Does (And When You Genuinely Don't Need One)A CDN is not a speed setting. It is a cache on the network, here is what it caches, why distance costs milliseconds, and when a single origin cache is the better answer.10 min read
- CloudWhat Is Serverless, Really? The Honest Cost, Limits and PayoffServerless is not "no servers". It is a usage based renting a system that bills on usage milliseconds rather than by the hours provisioned. Here are the pros and cons and hard limitations.8 min read