Skip to content

Commit 98bbeef

Browse files
authored
Fix: Correct the image path in doc 'overload_control_high_percentile' (#182)
1 parent c187965 commit 98bbeef

3 files changed

+2
-2
lines changed

docs/en/overload_control_high_percentile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The adaptive overload protection strategy based on concurrency utilizes a comple
3535

3636
## Diagram of Adaptive Overload Protection Based on Concurrency
3737

38-
![high_percenttile_limiter](../images/../high_percenttile_limiter.png)
38+
![high_percenttile_limiter](../images/high_percenttile_limiter.png)
3939
The core component in the diagram is the `HighPercentileServerFilter`, which plays a crucial role in comparing the current concurrency requests (`concurrency_reqs`) with the dynamically calculated maximum concurrency (`max_concurrency`) to determine whether to reject the incoming request (curr_req). The `max_concurrency` is calculated based on the principles of Little's Law.
4040

4141
## Implementation code
File renamed without changes.

docs/zh/overload_control_high_percentile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tRPC-Cpp 框架已支持:基于流量控制限流,并发请求限流,并
3535

3636
## 基于并发度的自适应过载保护原理图
3737

38-
![high_percenttile_limiter](../images/../high_percenttile_limiter.png)
38+
![high_percenttile_limiter](../images/high_percenttile_limiter.png)
3939
图中核心点就是 `HighPercentileServerFilter` ,它的主要作用是获取框架当前的并发请求数(`concurrency_reqs`)与动态计算的最大并发数(`max_concurrency`)进行比较来判断是否拒绝当前接收的新请求(`curr_req`),`max_concurrency` 是基于 little`s law 原理计算获取的。
4040

4141
## 实现代码

0 commit comments

Comments
 (0)