PostgreSQL HA
2021.074Streaming replication, automated failover, and the operational lessons that aren't in the PostgreSQL docs -- split-brain, silent lag, and why DR drills matter more than DR plans.
Streaming replication, automated failover, and the operational lessons that aren't in the PostgreSQL docs -- split-brain, silent lag, and why DR drills matter more than DR plans.
The board put us ahead of every customer ticket - until it stayed green while the data underneath it went wrong.
The index was there. The query was right. Postgres stopped using it anyway.
Service discovery, health checks, and dynamic config across a growing fleet of microservices -- and the moment KV store got too popular.
Transaction pooling, one SET that didn't stick, and a standup that moved on.
A GraphQL gateway that started as a unified API layer for clients became the place where we could intervene without touching the backends.
Picking the first piece to cut from a Perl monolith, rewriting it in Go, and switching over before you lose your nerve.
Adding businesses to a social platform built on Neo4j -- and realizing both sides of the marketplace use the same graph patterns.
Replacing an e-commerce frontend without turning off the old one -- carving over layer by layer while the store takes orders.
Building catalog search with flattened MongoDB documents and application-side scoring when the proper tools don't exist yet.
Everything else was tuned. The wall was the one function I never wrote -- malloc. A dtrace one-liner showed the paths in.