Redis cluster 查询优化
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp, redis
- 领域
- backend, databases, performance
调研方向
Start by reading RedisClusterChannel::CallMethodImpl and trace how it dispatches commands across Redis cluster slots. The issue proposes grouping keys by slot, issuing batched requests, and sending them concurrently; determine the relevant tests and benchmarks from the repository. Done means cluster queries use this approach and correctness and performance are verified.
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem?
RedisClusterChannel::CallMethodImpl 看着是把redis命令折分出来一个个执行的. 每次一个完整 RTT 地串行发,没有任何 pipeline、也没有并发。
Describe the solution you'd like
是否可以对key先按 slot分组 + 每次发一个真正的批量请求 + 并发发送
Describe alternatives you've considered
N/A
Additional context/screenshots
N/A
- 主要语言
- C++
- 星标
- 17.6k
- 派生
- 4.2k
- 平均合并
- 3 天 17 小时
- 30 天内合并 PR
- 72
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/brpc 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
endpoint2hostname() prints a byte-swapped port for IPv6 endpoints可能已有人在做 @0z5a 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 2 天内回复
-
perf(butil): ARM64 (aarch64) performance and modernisation improvements across atomics, CRC32C, spin-wait hints, and fast timers可能已有人在做 @jimmystewpot 于 2 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 12/100
维护者通常 2 天内回复
-
file:// naming service takes a comment after the address as the tag可能已有人在做 @0z5a 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
维护者通常 2 天内回复
相似的 Issue
-
agent:Windows bug in progress pri:medium sev:low testing windows
难度 1/5 1 小时以内 新手友好度 91/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
protocolbuffers/protobuf#31768 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
godotengine/godot#125651 ·
维护者通常 1 天内回复
-
Android: with view recycling on, a recycled View keeps its nextFocusLeft可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭Needs: Triage :mag: Platform: Android
难度 2/5 1-3 小时 新手友好度 78/100
react/react-native#60167 ·
维护者通常 2 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 63/100