[
https://issues.apache.org/jira/browse/RATIS-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1886.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
The pull request is now merged.
> 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
> Assignee: Tsz-wo Sze
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: image-2023-09-13-15-44-00-933.png
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)