Back to Blog

Tag

#concurrency

3 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 1, 2026 • 14 min read

When the Backend Spoiled the Animation

A UX complaint led me to one of the most underrated primitives in the Kafka client — consumer.pause(). Here's how a 2-second delay problem ruled out three reasonable approaches and ended up at a pause/resume pattern with a TaskScheduler.