You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by zh...@apache.org on 2021/07/28 07:06:56 UTC

[incubator-pegasus] branch master updated: feat: update client rpc config (#793)

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

zhaoliwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new fa5bfbb  feat: update client rpc config (#793)
fa5bfbb is described below

commit fa5bfbb8d8dbe364bf0f4991ea2ff8372baa7826
Author: HeYuchen <37...@qq.com>
AuthorDate: Wed Jul 28 15:06:45 2021 +0800

    feat: update client rpc config (#793)
---
 rdsn                  |  2 +-
 src/server/config.ini | 63 ++++++++++++++++++++++++++++-----------------------
 2 files changed, 36 insertions(+), 29 deletions(-)

diff --git a/rdsn b/rdsn
index e31d49c..7e3eab7 160000
--- a/rdsn
+++ b/rdsn
@@ -1 +1 @@
-Subproject commit e31d49ca6d98dba7b83b272cae0346edf6026337
+Subproject commit 7e3eab786fb5e0675d84eac22d5508b03538d5f4
diff --git a/src/server/config.ini b/src/server/config.ini
index 4b52ffd..65c770b 100644
--- a/src/server/config.ini
+++ b/src/server/config.ini
@@ -525,116 +525,123 @@
   ;is_profile = true
 
 [task.RPC_RRDB_RRDB_PUT]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
   profiler::size.request.server = true
+  rpc_request_dropped_before_execution_when_timeout = true
 
 [task.RPC_RRDB_RRDB_PUT_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_MULTI_PUT]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
   profiler::size.request.server = true
+  rpc_request_dropped_before_execution_when_timeout = true
 
 [task.RPC_RRDB_RRDB_MULTI_PUT_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_REMOVE]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
+  rpc_request_dropped_before_execution_when_timeout = true
 
 [task.RPC_RRDB_RRDB_REMOVE_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_MULTI_REMOVE]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
+  rpc_request_dropped_before_execution_when_timeout = true
 
 [task.RPC_RRDB_RRDB_MULTI_REMOVE_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_INCR]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
 
 [task.RPC_RRDB_RRDB_INCR_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_CHECK_AND_SET]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
 
 [task.RPC_RRDB_RRDB_CHECK_AND_SET_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_CHECK_AND_MUTATE]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
 
 [task.RPC_RRDB_RRDB_CHECK_AND_MUTATE_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_GET]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
   profiler::size.response.server = true
+  rpc_request_dropped_before_execution_when_timeout = true
 
 [task.RPC_RRDB_RRDB_GET_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_MULTI_GET]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
   profiler::size.response.server = true
+  rpc_request_dropped_before_execution_when_timeout = true
 
 [task.RPC_RRDB_RRDB_MULTI_GET_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_SORTKEY_COUNT]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
 
 [task.RPC_RRDB_RRDB_SORTKEY_COUNT_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_TTL]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
+  rpc_request_dropped_before_execution_when_timeout = true
 
 [task.RPC_RRDB_RRDB_TTL_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_GET_SCANNER]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
 
 [task.RPC_RRDB_RRDB_GET_SCANNER_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_SCAN]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
 
 [task.RPC_RRDB_RRDB_SCAN_ACK]
   is_profile = true
 
 [task.RPC_RRDB_RRDB_CLEAR_SCANNER]
-  rpc_request_throttling_mode = TM_DELAY
-  rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
+  ;rpc_request_throttling_mode = TM_DELAY
+  ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100
   is_profile = true
 
 [task.RPC_RRDB_RRDB_CLEAR_SCANNER_ACK]

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pegasus.apache.org
For additional commands, e-mail: commits-help@pegasus.apache.org