You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2021/08/27 23:44:00 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 ]
Tsz-wo Sze updated RATIS-1396:
------------------------------
Component/s: server
> 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
> Attachments: image-2020-06-23-11-57-19-791.png
>
>
> [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)