Dragonfly Uses 13% Less Memory Per Key Than Redis in Benchmark Test

A seven-part benchmark series comparing in-memory data store engines found that Dragonfly stores data at approximately 146 bytes per key, versus 165 bytes for Redis 8.2 and 169 bytes for Valkey 8.1, when tested with one million 100-byte values. The author considers this the most reliable figure in the series because memory layout is determined by data-structure design and produces identical results regardless of hardware. Tests conducted on both a laptop and a 48-core bare-metal server returned the exact same per-key figures, confirming the hardware-independent nature of the measurement. Dragonfly's advantage is attributed to more compact internal data structures, which reduce per-key overhead by roughly 19–23 bytes compared to its rivals. The efficiency gap narrows as value sizes grow, making the difference most meaningful for workloads with many small keys such as sessions, counters, and rate-limit buckets.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in