-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Redis 7 introduces significant enhancements to the Pub/Sub mechanism. Unlike Redis 6, where Pub/Sub messages were limited to a single shard, Redis 7 employs a sharded Pub/Sub mechanism. This improvement allows Redis to automatically determine which shard should handle the Pub/Sub traffic for a specific channel.
The sharded Pub/Sub mechanism provides the following benefits:
- Load Distribution: It reduces the concentration of connections on a single shard by distributing Pub/Sub traffic across the cluster.
- Scalability: This makes the Pub/Sub system more scalable by evenly balancing the workload among available shards.
To leverage the Sharded Pub/Sub feature in Redis 7, the RESP3 protocol is required. However, we have observed that the currently ioredis library does not support RESP3.
We would like to understand:
- Are there any plans to add RESP3 protocol support in ioredis to enable Redis 7's advanced features like Sharded Pub/Sub?
- If so, could you share any timelines or progress updates?
Metadata
Metadata
Assignees
Labels
No labels