Valkey 9.0: The Groundbreaking In-Memory Storage Solution Now Available
The Linux Foundation has rolled out the highly anticipated Valkey 9.0, an open-source in-memory storage solution set to redefine how developers manage data. Positioned as a successor to Redis, this latest version boasts significant enhancements, including atomic slot migrations, fine-tuned hash field expiration, and complete support for numbered databases—in cluster mode—that can scale up to 2,000 nodes and handle more than 1 billion requests per second.
Atomic Slot Migrations: Enhancing Cluster Stability
One of the standout features of Valkey 9.0 is its introduction of atomic slot migrations, a game-changing improvement for clustered environments. Prior to this version, data transfers between nodes were executed stepwise, risking the integrity of key routing during the migration process. With the new atomic approach, entire slots are migrated from one node to another in a single, reliable transaction, utilizing the AOF (Append-Only File) format.
Khawaja Shams, co-founder and CEO of Momento, explains the impact of this feature: “For teams running Valkey in clustered environments, this fundamentally shifts how you plan capacity and manage operational risk. Scale-outs become predictable instead of painful.”
Managing Data Expiration with Hash Field Expiration
In previous iterations of Valkey, expirations applied to entire hash structures, forcing users to break down their data into multiple keys. With Valkey 9.0, developers can set expiration policies at the field level, allowing more granularity in data management. This capability not only streamlines procedures but also adds efficiency, minimizing the need for cumbersome workarounds.
Ran Shidlansik, senior software engineer at AWS, elaborates, “Benchmarks demonstrate that field-level expirations can be added to Valkey without compromising memory efficiency or latency. The memory overhead remains modest, and command throughput is unaffected.”
Numbered Databases: Structured Data Management
Valkey 9.0 also breaks new ground by fully supporting multiple numbered databases in cluster mode, removing previous constraints that limited Redis users to a single database. This innovative feature allows developers to separate data effectively and minimizes the risk of key collisions, particularly useful for applications requiring a clean delineation of data.
Kyle Davis, senior developer advocate at AWS, explains, “The most straightforward use case of numbered databases is when you need to separate your data logically. This can be useful when keeping customer data distinct or when consolidating applications into a single cluster.”
Performance Improvements with Modern Hardware
The architectural advancements in Valkey 9.0 showcase a keen understanding of modern hardware capabilities, allowing the software to achieve new performance benchmarks. This includes scaling capacity to 2,000 nodes and handling over 1 billion requests per second.
Shams and Helton’s insights further illustrate this point: “The performance story in 9.0 is about using modern CPU capabilities intelligently, delivering performance that outpaces previous versions significantly, resulting in lower latency and higher per-node throughput.”
Community and Ecosystem Support
Valkey 9.0 is backed by significant industry leaders such as AWS, Oracle, and Google Cloud, highlighting its strong community support. Released under the BSD 3-clause license, this new version is now available for download, ensuring that organizations of all sizes can benefit from its advantages.
For developers looking to implement an efficient, scalable, and high-performance in-memory storage solution, Valkey 9.0 promises to bring substantial improvements while retaining ease of usability and flexibility.
Inspired by: Source

