This is an automated email from the ASF dual-hosted git repository.

dengliming pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 497c5a5eaf [type:feat] add sentinel rule handle parameter (#758)
497c5a5eaf is described below

commit 497c5a5eafc621a570affcc327b5d4758caf4ed6
Author: yunlongn <[email protected]>
AuthorDate: Sat Sep 24 17:36:10 2022 +0800

    [type:feat] add sentinel rule handle parameter (#758)
    
    * [type:feat] add shenyu.register.enabled
    
    * [type:feat] update sentinel-plugin doc consistent with the English 
version.
    
    * [type:feat] add flowRuleMaxQueueingTimeMs and flowRuleWarmUpPeriodSec.
    
    * [type:feat] add flowRuleMaxQueueingTimeMs and flowRuleWarmUpPeriodSec
    
    Co-authored-by: yunlongn <[email protected]>
---
 docs/plugin-center/fault-tolerance/sentinel-plugin.md      | 12 ++++++++++++
 .../plugin-center/fault-tolerance/sentinel-plugin.md       | 14 +++++++++++++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/docs/plugin-center/fault-tolerance/sentinel-plugin.md 
b/docs/plugin-center/fault-tolerance/sentinel-plugin.md
index 7b1d4c5c2c..b928b28cc6 100644
--- a/docs/plugin-center/fault-tolerance/sentinel-plugin.md
+++ b/docs/plugin-center/fault-tolerance/sentinel-plugin.md
@@ -74,6 +74,18 @@ For the final filtering of traffic, there is a rule handler 
logic.
 
   * `flowRuleControlBehavior`: effect(reject directly/ queue/ slow start up), 
it do not support flow control by invocation relation.
 
+    * direct rejection by default 
+
+    * warm up 
+
+    * constant speed queuing 
+
+    * preheating uniformly queued 
+
+  * `flowRuleMaxQueueingTimeMs`:Maximum queuing time (valid in "preheating 
uniformly queued", "constant speed queuing" mode).
+
+  * `flowRuleWarmUpPeriodSec`: Cold start warm-up time (seconds) (valid in 
"preheating uniformly queued" "warm up" mode)
+
   * `flowRuleCount`:  sentinel flow control count.
 
   * `flowRuleEnable (1 or 0)`: whether enable sentinel flow control function.
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/fault-tolerance/sentinel-plugin.md
 
b/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/fault-tolerance/sentinel-plugin.md
index 47491e0885..f0ce928527 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/fault-tolerance/sentinel-plugin.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/current/plugin-center/fault-tolerance/sentinel-plugin.md
@@ -68,7 +68,19 @@ description: sentinel插件
 
   * `degradeRuleTimeWindow`:退化时间(单位:秒)。
 
-  * `flowRuleControlBehavior`:效果(直接拒绝/排队/慢启动),不支持调用关系流控。
+  * `flowRuleControlBehavior`:效果(直接拒绝/排队/慢启动/冷启动+匀速器),不支持调用关系流控。
+
+    * direct rejection by default (直接拒绝)
+
+    * warm up (冷启动)
+
+    * constant speed queuing (匀速排队,漏桶算法 )
+
+    * preheating uniformly queued (冷启动+匀速器,除了让流量缓慢增加,还还控制的了请求的间隔时间,让请求均匀速度通过。)
+
+  * `flowRuleMaxQueueingTimeMs`:最大排队等待时长(在 “preheating uniformly queued“, 
“constant speed queuing“ 模式生效)。
+
+  * `flowRuleWarmUpPeriodSec`: 冷启动预热时长(秒)  (在 “preheating uniformly queued” 
“warm up” 模式下生效)
 
   * `flowRuleCount`:哨兵流控制计数。
 

Reply via email to