Save the date! P99 CONF 2026 — October 21-22. Call for speakers is open!

SESSION ON-DEMAND

All Things P99

The event for developers who care about P99 percentiles and high-performance, low-latency applications

Deprecating Distributed Locks for Low Latency Event Consumption

This session covers how Attentive scaled mutual exclusivity in its event-driven architecture by evolving from Redis-based locks to Apache Pulsar’s FAILOVER and KEY_SHARED subscription modes. Operating at the scale of 620M texts/day during peak events, we share how we addressed the “split-brain” effect, improved the latency of event consumption, and navigated the trade-offs across subscription models. We’ll also dive into key lessons learned in building a reliable, low-latency, high-throughput message orchestration system.

17 minutes

Danish Rehman, Staff Software Engineer at Attentive

Danish is a Staff Software Engineer at Attentive, where he plays a key role in shaping the architecture and scalability of our product. With nearly 15 years of experience in building distributed systems for high traffic ad-tech and e-commerce, he has been instrumental in developing our next-generation marketing solutions powered by AI. Outside of work, Danish enjoys gardening, vermiculture, and rock climbing. He loves sharing his harvest with his four-year old son before they head out on climbing adventures together.