ALL
POSTS
41 posts so far.
March 16, 2026Database9 min read
ECS Autoscaling Fought Our Postgres max_connections at 2AM and Postgres Won
We scaled to 38 ECS tasks during a flash sale. Each task held 10 Postgres connections. Our RDS instance allowed 170. The math was never going to work.
March 15, 2026Database10 min read
How a NOT NULL Column Migration Locked Our Users Table for 14 Minutes
A routine schema migration to add a NOT NULL column with a default value triggered a full table rewrite in Postgres, holding an exclusive lock on 2.4 million rows and taking our entire platform offline for 14 minutes at 10 AM on a Monday.
March 7, 2026Database12 min read
The Friday Deploy That Taught Me to Respect PostgreSQL
A four-line SQL query worked perfectly in development — in production, with 8 million rows, it held the database hostage for 47 minutes and took down an entire SaaS platform on a Friday afternoon.