Skip to content

Commit

Permalink
update doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
thetumbled committed Jun 13, 2024
1 parent 112a814 commit 58fa56f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pip/pip-358.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ memory usage and direct memory usage on the load of the broker.

# Detailed Design

- Let resource weight work for `OverloadShedder`, `LeastLongTermMessageRate`, `ModularLoadManagerImpl`.

Let resource weight work for `OverloadShedder`, `LeastLongTermMessageRate`, `ModularLoadManagerImpl`.
- For `OverloadShedder`, `LeastLongTermMessageRate`, we replace `getMaxResourceUsage()` with `getMaxResourceUsageWithWeight()` in the calculation of the load of the broker.
- For `ModularLoadManagerImpl`, we replace `getMaxResourceUsage()` with `getMaxResourceUsageWithWeight()` when checking if the broker is overloaded and decide whether to update the broker data to metadata store.

# Backward & Forward Compatibility

Expand Down

0 comments on commit 58fa56f

Please sign in to comment.