apache / apache/brpc

使用PartitionChannel如何做WRR负载均衡

Open
#967 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

**Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
PartitionChannel,做分库以后,我还想做分库的WRR算法负载均衡,并且权重可以动态改变。
**Describe the solution you'd like (描述你期望的解决方法)**

**Describe alternatives you've considered (描述你想到的折衷方案)**

**Additional context/screenshots (更多上下文/截图)**

Contributor guide

Open the contributing guide

Research direction

Start by locating the PartitionChannel implementation and its existing load-balancing entry points. Clarify how weighted round-robin and runtime weight changes should interact with partition selection; done would require an agreed design and tests demonstrating weighted distribution and dynamic updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.