[ 
https://issues.apache.org/jira/browse/RATIS-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764735#comment-17764735
 ] 

Tsz-wo Sze edited comment on RATIS-1886 at 9/13/23 5:30 PM:
------------------------------------------------------------

[~liuyaolong], would it help if we set raft.server.log.appender.wait-time.min 
(default=10ms) to a smaller value, say 1ms or even 0ms?


was (Author: szetszwo):
[~liuyaolong], would it help if we set raft.server.log.appender.wait-time.min 
(default=10ms) to a smaller value, say 1ms?

> AppendLog sleep fixed time cause significant drop in write throughput
> ---------------------------------------------------------------------
>
>                 Key: RATIS-1886
>                 URL: https://issues.apache.org/jira/browse/RATIS-1886
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 2.5.1
>            Reporter: Yaolong Liu
>            Priority: Major
>         Attachments: image-2023-09-13-15-44-00-933.png
>
>
> In https://issues.apache.org/jira/browse/RATIS-1793 , we enforce 
> raft.server.log.appender.wait-time.min, which make GrpcLogAppender sleep 
> fixed time during appendLog. This make alluxio master write throughput drop 
> 50% and unacceptable. The ops of alluxio master could see below
>  !image-2023-09-13-15-44-00-933.png! 
> I noticed that this patch was introduced to avoid leader being too busy in 
> some error conditions. Could we introduce sleep waiting when an error is 
> discovered (maybe not easy) or find a way to locate the error condition and 
> repair it completely? The performance degradation caused by sleeping for each 
> appendLog request may be underestimated.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to