For the complete site map for agents, see llms.txt.
Where the open-source database community meets: Secure your spot at PerconaLive.com
Back to all talks

Where Did All My Memory Go? Tuning Valkey Memory Usage at Scale

Event: ValkeyConf 2026

Location: Prague

Room: Chamber Hall, Level 3

Dates: October 5, 2026

Presentation: October 5, 2026 , 12:10

Video: Watch video

Link: On event website

Speakers: Edith Puclla, Hieu Nguyen

Each Valkey datatype can be stored in a compact encoding or a full structure, depending on how many elements a key has and how long the values are. The compact form saves memory. One extra character can push a hash field past hash-max-listpack-value, 64 by default, and switch the key to a hashtable.

At scale the difference is large. In an example Kyle Davis published, raising that value limit to 128 shrank a dataset from 100 GB across five nodes to 59 GB across three.

This talk demos an open source encoding analyzer that scans a dataset and reports which encoding each key uses and how field lengths are distributed. It works with key prefixes and cluster mode, and it writes Markdown or JSON. Measure first and test the change in staging: existing keys do not convert back without a reload.

Video

Event

Speaker card

Where Did All My Memory Go? Tuning Valkey Memory Usage at Scale

Speakers

Edith Puclla

Edith Puclla

Edith Puclla is a Technology Evangelist of Percona Corporation, studied at 42 Silicon Valley School in California in 2020, and was part of the Outreachy Internship in 2021. She has a background in DevOps and is a Docker and Kubernetes enthusiast.

View full profile ›