War Stories • May 3, 2026 • 13 min read
The Customer Support Ticket That Taught Me to Profile Before Designing
A "simple" lost-update bug took me through optimistic locking, pessimistic locking, and finally a two-stage Redis-locked aggregator — a tour of why the right concurrency primitive depends entirely on the shape of your contention.