This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/master by this push:
new feac7ae fix typro (#386)
feac7ae is described below
commit feac7aeb8001cbf0823e0d06fbad3f4fc0e0ee6e
Author: Jiezhi.G <[email protected]>
AuthorDate: Mon Jun 21 18:31:32 2021 +0800
fix typro (#386)
于此同时->与此同时
---
docs/zh-cn/1.3.6/user_doc/load-balance.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/zh-cn/1.3.6/user_doc/load-balance.md
b/docs/zh-cn/1.3.6/user_doc/load-balance.md
index 2f28e85..cb381f3 100644
--- a/docs/zh-cn/1.3.6/user_doc/load-balance.md
+++ b/docs/zh-cn/1.3.6/user_doc/load-balance.md
@@ -41,7 +41,7 @@ eg:master.host.selector=random(不区分大小写)
加权轮询算法一个明显的缺陷。即在某些特殊的权重下,加权轮询调度会生成不均匀的实例序列,这种不平滑的负载可能会使某些实例出现瞬时高负载的现象,导致系统存在宕机的风险。为了解决这个调度缺陷,我们提供了平滑加权轮询算法。
-每台 worker 都有两个权重,即 weight(预热完成后保持不变),current_weight(动态变化),每次路由。都会遍历所有的
worker,使其 current_weight+weight,同时累加所有 worker 的 weight,计为 total_weight,然后挑选
current_weight 最大的作为本次执行任务的 worker,于此同时,将这台 worker 的
current_weight-total_weight。
+每台 worker 都有两个权重,即 weight(预热完成后保持不变),current_weight(动态变化),每次路由。都会遍历所有的
worker,使其 current_weight+weight,同时累加所有 worker 的 weight,计为 total_weight,然后挑选
current_weight 最大的作为本次执行任务的 worker,与此同时,将这台 worker 的
current_weight-total_weight。
#### 线性加权(默认算法)