You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Junhua Zhang (Jira)" <ji...@apache.org> on 2022/03/03 08:15:00 UTC

[jira] [Reopened] (RATIS-1534) SegmentedRaftLogWorker should enforce a minimum time interval between flush calls

     [ https://issues.apache.org/jira/browse/RATIS-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Junhua Zhang reopened RATIS-1534:
---------------------------------

> SegmentedRaftLogWorker should enforce a minimum time interval between flush calls
> ---------------------------------------------------------------------------------
>
>                 Key: RATIS-1534
>                 URL: https://issues.apache.org/jira/browse/RATIS-1534
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>            Reporter: mingchao zhao
>            Assignee: Junhua Zhang
>            Priority: Major
>             Fix For: 2.3.0
>
>         Attachments: screenshot-1.png
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> In our previous test([see streaming test doc|https://docs.google.com/document/d/1mS3GqovQ3D1b7V0L3--VF9xhl5jdId1mSL0cQNb7uHo/edit]), we found that SegmentedRaftLogWorker writing RaftLog seriously affected the performance of streaming. Mainly because the flush action was very frequent.
> So we can change flush to async. This will greatly improve performance. Of course we'd better make this configurable, which is disable by default.
>  !screenshot-1.png! 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)