You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Shashikant Banerjee (Jira)" <ji...@apache.org> on 2021/09/16 16:28:01 UTC

[jira] [Updated] (RATIS-1396) Reduce lock contention in RaftServerImpl::replyPendingRequest

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

Shashikant Banerjee updated RATIS-1396:
---------------------------------------
    Fix Version/s:     (was: 1.1.0)
                   2.2.0

> Reduce lock contention in RaftServerImpl::replyPendingRequest
> -------------------------------------------------------------
>
>                 Key: RATIS-1396
>                 URL: https://issues.apache.org/jira/browse/RATIS-1396
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>            Reporter: Rajesh Balamohan
>            Assignee: Tsz-wo Sze
>            Priority: Major
>             Fix For: 2.2.0
>
>         Attachments: image-2020-06-23-11-57-19-791.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> [https://github.com/apache/incubator-ratis/blob/master/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java#L1341]
> Can be easily refactored to acquire the lock only for leader, to reduce the lock contention.
> Observed this in terasort.
> !image-2020-06-23-11-57-19-791.png|width=760,height=206!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)