Back to Blog

Tag

#redis

4 articles
Article preview
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.

Article preview
War Stories May 2, 2026 16 min read

The Day Half Our Real-Time Updates Vanished

A routine scale-up from one pod to three exposed an architectural assumption I'd been making for years — that Spring's in-memory STOMP broker could survive horizontal scaling. It can't. Here's the Redis Pub/Sub fan-out pattern that fixed it.