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

jianbin pushed a commit to branch docusaurus
in repository https://gitbox.apache.org/repos/asf/incubator-seata-website.git


The following commit(s) were added to refs/heads/docusaurus by this push:
     new c440fe61b99 feat: add server ratelimit config (#953)
c440fe61b99 is described below

commit c440fe61b99e16cef63c762ca252c33fd23954a5
Author: Jingliu <928124...@qq.com>
AuthorDate: Mon Mar 24 09:29:26 2025 +0800

    feat: add server ratelimit config (#953)
---
 .../en/docusaurus-plugin-content-docs/current/user/configurations.md | 5 ++++-
 .../docusaurus-plugin-content-docs/current/user/configurations.md    | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git 
a/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md 
b/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
index 57d02534792..6eeb6a01156 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
@@ -182,7 +182,10 @@ 
transport.enable-client-batch-send-request、client.log.exceptionRate
 | metrics.registryType                       | Indicator registrar type        
                                                                                
                                                                      | The 
indicator registrar type used by Metrics is a built-in compact (simple) 
implementation by default. Meters in this implementation only use a limited 
memory count, and the performance is high enough to meet most scenarios; 
Currently, only one indicator regist [...]
 | metrics.exporterList                       | Index result Measurement data 
outputter list                                                                  
                                                                        | 
default prometheus. Multiple outputters are separated by English commas, such 
as "prometheus, jmx". Currently, only the prometheus outputters are connected   
                                                                                
                        [...]
 | metrics.exporterPrometheusPort             | prometheus exporter client port 
number                                                                          
                                                                      | 9898 by 
default                                                                         
                                                                                
                                                                                
              [...]
-
+| ratelimit.enable                           | Whether to enable single-point 
current limiting on the server side. Currently, only the token bucket algorithm 
is supported, and current limiting is performed directly when the global 
transaction starts requesting. | Default is false (support hot configuration)   
                                                                                
                                                                                
                      [...]
+| ratelimit.bucketTokenNumPerSecond          | The number of tokens generated 
per second                                                                      
                                                                                
                        | Default is 999999 (support hot configuration)         
                                                                                
                                                                                
               [...]
+| ratelimit.bucketTokenMaxNum                | Maximum number of tokens in the 
token bucket                                                                    
                                                                                
                       | Default is 999999 (support hot configuration)          
                                                                                
                                                                                
              [...]
+| ratelimit.bucketTokenInitialNum            | The number of tokens 
initialized in the token bucket                                                 
                                                                                
                                  | Default is 999999 (support hot 
configuration)                                                                  
                                                                                
                                      [...]
 ### Client side
 
 | key                                                | desc                    
                                                                    | remark    
                                                                                
                                                                                
                                                                                
                                                                  | change 
record |
diff --git 
a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md 
b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
index 5422d3ae6cc..3409c22d0bd 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
@@ -137,7 +137,10 @@ description: Seata 参数配置。
 | metrics.registryType                      | 指标注册器类型                          
                                                         | Metrics 
使用的指标注册器类型,默认为内置的 compact(简易)实现,这个实现中的 Meter 
仅使用有限内存计数,性能高足够满足大多数场景;目前只能设置一个指标注册器实现                                          
                |  |
 | metrics.exporterList                      | 指标结果 Measurement 数据输出器列表         
                                                         | 默认 
prometheus,多个输出器使用英文逗号分割,例如"prometheus,jmx",目前仅实现了对接 prometheus 的输出器            
                                                                  |  |
 | metrics.exporterPrometheusPort            | prometheus 输出器 Client 端口号        
                                                         | 默认 9898              
                                                                                
                                                |  |
-
+| ratelimit.enable                                 | 
是否开启server端单点限流,目前只支持令牌桶算法,且直接在全局事务开始请求时进行限流                                    
| 默认 false(支持热配置)                                                               
                                                                                
| 2.4 版本新增                                          |
+| ratelimit.bucketTokenNumPerSecond                                 | 
令牌桶限流算法每秒产生令牌数                                                                  
| 默认 999999(支持热配置)                                                              
                                                                                
|  2.4 版本新增                                                  |
+| ratelimit.bucketTokenMaxNum                                 | 令牌桶限流算法桶中令牌最大数 
                                                                | 默认 
999999(支持热配置)                                                                   
                                                                             |  
 2.4 版本新增                                                 |
+| ratelimit.bucketTokenInitialNum                   | 令牌桶限流算法桶中初始化令牌数数         
                                                     | 默认 999999(支持热配置)         
                                                                                
                                                       |          2.4 版本新增      
                                    |
 ### client 端
 
 | key                                                | desc                    
                      | remark                                                  
                                                                                
              | change record  |


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to