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

Shashikant Banerjee resolved RATIS-1396.
----------------------------------------
    Fix Version/s: 1.1.0
       Resolution: Fixed

> 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: 1.1.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)

Reply via email to