SESSION ON-DEMAND

All Things P99

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

We Told B+ Trees to Do Sorted Sets—They Nailed It

Sorted sets power critical use cases like leaderboards and priority queues, but Redis’s skiplist implementation pays a steep tax—37 bytes of overhead per entry. Dragonfly flips the script with a B+ tree redesign, slashing overhead to just 2-3 bytes while boosting performance. This optimization proves that revisiting “obvious” data structure choices can yield massive gains—with lessons on B+ tree trade-offs, latency wins, and the quirks of adapting traditional database-born data structures for pure in-memory use cases.

20 minutes
Register for access to all 60+ sessions available on demand.
Fill out the form to watch this session from the P99 CONF 2025 livestream. You’ll also get access to all available recordings.

Joe Zhou, Developer Advocate at DragonflyDB

Joe is an enthusiastic advocate for cloud-native technologies. Having served as the CTO of a dynamic start-up company, Joe excels at directing and inspiring team members to deliver exceptional results. Currently, Joe proudly serves as a Developer Advocate at DragonflyDB, a modern multi-threaded Redis-compatible in-memory data store system. In this role, he is dedicated to promoting this innovative solution and empowering developers to leverage its capabilities for optimal performance and efficiency.