When Every Bit Counts: How Valkey Rebuilt Its Hashtable for Modern Hardware

Abstract

Ever wondered what happens when a bunch of performance-obsessed developers decide their blazing-fast database isn't quite blazing-fast enough? Join me for a deep-dive into how we threw out the beating heart of Valkey, a hashtable that was designed over 15 years ago, and replace it with something faster and more memory efficient. We'll dive into how careful attention to cache-line alignment, memory access patterns, and SIMD operations led to significant improvements in both memory efficiency and performance. Whether you're working on high-performance systems or just curious about modern hardware optimization, you'll come away with concrete insights into how subtle architectural choices can have outsized impacts on real-world performance.


Date

Wednesday Nov 19 / 01:35PM PST ( 50 minutes )

Location

Pacific DEKJ

Share

From the same track

Session

The High Performance Talk You Did Not Expect To Hear about Rust

Wednesday Nov 19 / 10:35AM PST

Abstract: Rust makes things faster but it slows down engineers, right? This was our team’s assumption when we decided to rewrite our code from Kotlin into Rust. But, we were wrong in completely unexpected ways.

Speaker image - Ruth Linehan

Ruth Linehan

Software Engineer @Momento, Previously APIs/Webhooks @GitHub and @Puppet

Session

Instrumentation at Scale: Having Your Performance Cake and Eating It Too

Wednesday Nov 19 / 11:45AM PST

In high-performance code, a single misplaced counter increment can cost more than the operation it’s measuring. That creates a paradox: instrument too much and you slow the system down; instrument too little and you miss the insights you need to continuously deliver.

Speaker image - Brian Martin

Brian Martin

Co-founder and Software Engineer @IOP Systems, Focused on High-Performance Software and Systems, Previously @Twitter

Session

Building High-Concurrency Systems for the Cloud

Wednesday Nov 19 / 03:55PM PST

Details coming soon.

Session

Modern Systems Programming for the Next Decade

Wednesday Nov 19 / 02:45PM PST

Details coming soon.