envoyproxy/envoy
GitHub で見るChange Redis cluster discovery to use CLUSTER_SHARDS API
Open
#36,975 opened on 2024年11月4日
area/redisenhancementhelp wanted
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (平均マージ 8d) (30d で 378 merged PRs)
説明
Title: Change Redis cluster discovery to use CLUSTER_SHARDS API
Description: Currently Envoy uses CLUSTER_SLOTS to fetch cluster topology from Redis. CLUSTER_SLOTS is deprecated in Redis 7.0. It is slower and less efficient than the new API, CLUSTER_SHARDS. We observed CLUSTER_SHARDS payload size to be 10x smaller than the CLUSTER_SLOTS payload for big redis cluster with 12k shards.
Redis doc also recommends using CLUSTER_SHARDS over CLUSTER_SLOTS
[optional Relevant Links:]
Any extra documentation required to understand the issue.