rembrembdocs

Redis 8.4

What's new in Redis 8.4

Redis 8.4 builds on the foundation of Redis 8.2 with significant enhancements to cluster operations, string manipulation, and stream processing capabilities.

This release delivers major improvements across multiple areas:

Below is a detailed breakdown of these updates.

New features

Atomic cluster operations

Redis 8.4 introduces the CLUSTER MIGRATION command, which enables atomic slot migration between cluster nodes. This command ensures zero-downtime cluster operations by moving slots and their associated data in a single atomic operation, eliminating the brief unavailability window that previously occurred during slot migrations.

Enhanced string operations

Redis 8.4 extends string manipulation capabilities with powerful new commands that enable atomic compare-and-set operations:

The SET command now supports atomic compare-and-set and compare-and-delete operations through new extensions, enabling you to implement lock-free data structures and optimistic concurrency control patterns.

Multi-key expiration management

The new MSETEX command allows you to set multiple keys and update their expiration times in a single atomic operation. This simplifies batch operations where you need to maintain consistent TTL values across related keys.

Advanced stream processing

Redis 8.4 enhances stream processing with the CLAIM min-idle-time option for XREADGROUP. This feature enables consumer groups to automatically claim and process both idle pending entries and new incoming entries in a single operation, simplifying consumer group management and improving processing efficiency.

Hybrid search capabilities

The new FT.HYBRID command introduces hybrid queries that combine multiple ranking algorithms using Reciprocal Rank Fusion (RRF) and linear combination methods. This enables you to create sophisticated search experiences that leverage both semantic similarity and traditional text matching.

Enhanced AOF reliability

Redis 8.4 introduces auto-repair options for corrupted AOF (Append Only File) tails during startup. The new aof-load-corrupt-tail-max-size configuration parameter allows Redis to automatically repair minor AOF corruption, improving system resilience and reducing manual intervention requirements.

Improvements

Redis 8.4 delivers substantial performance improvements through advanced SIMD optimizations and enhanced algorithms.

Performance optimizations

Memory efficiency improvements

Search and indexing enhancements

Redis 8.4 introduces several improvements to search functionality:

Enhanced configuration

Redis 8.4 introduces new configuration parameters that give you greater control over system behavior:

Component versions

Redis 8.4 continues the unified distribution approach, delivering all functionality in a single Redis Open Source package without separate modules. This includes:

Known limitations

When using Redis 8.4, be aware of these current limitations:

On this page