Changelog

Jan 31, 2025

Aiven for Valkey™ version 8.0

Improved

Aiven for Valkey™

Aiven for Valkey version 8.0 is now available on the Aiven Platform. It introduces multiple improvements on top of version 7.2. If you upgrade from Aiven for Caching to Aiven for Valkey, your service will run on version 8.0 after the upgrade.

Highlights

  • Performance improvements
    • Asynchronous I/O Threading: Enables parallel processing of commands and I/O operations, maximizing throughput and minimizing bottlenecks.
    • Intelligent Core Utilization: Distributes I/O tasks across multiple cores based on realtime usage, reducing idle time and improving energy efficiency.
    • Command Batching: Optimizes memory access patterns by prefetching frequently accessed data to minimize CPU cache misses, reducing memory accesses required for dictionary operations.
  • Efficiency improvements
    • Reduction of the memory overhead of keys, allowing you to store more data without any application changes: Keys are now embedded in the main dictionary, eliminating separate key pointers and significantly reducing memory overhead. This results in a 9-10% reduction in overall memory usage for scenarios with 16-byte keys and 8 or 16-byte values, along with performance improvements.
    • Improved Pub/Sub Efficiency: Lightweight cluster messages streamline communication and reduce overhead for faster, more efficient Pub/Sub operations.
  • Replication improvements
    • Reduced Memory Load: By streaming replication data to the replica during the full sync, the primary node experiences significantly less memory pressure. The replica now manages the Client Output Buffer (COB) tracking, reducing the likelihood of COB overruns and enabling larger COB sizes on the replica side.
    • Reduced Parent Process Load: A dedicated connection for RDB transfer frees the primary's parent process from handling this data, allowing it to focus on client queries and improving overall responsiveness.

See the release notes for more details.