You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by yu...@apache.org on 2021/09/06 08:50:31 UTC
[incubator-pegasus] 02/03: feat: update client rpc config (#793)
This is an automated email from the ASF dual-hosted git repository.
yuchenhe pushed a commit to tag v2.2.3
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
commit f721294ae3c1f5d0114df054efab54e749a93c11
Author: HeYuchen <37...@qq.com>
AuthorDate: Wed Jul 28 15:06:45 2021 +0800
feat: update client rpc config (#793)
---
src/server/config.ini | 63 ++++++++++++++++++++++++++++-----------------------
1 file changed, 35 insertions(+), 28 deletions(-)
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