Rajesh Balamohan created HDDS-3851:
--------------------------------------
Summary: Reduce lock contention in
RaftServerImpl::replyPendingRequest
Key: HDDS-3851
URL: https://issues.apache.org/jira/browse/HDDS-3851
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Reporter: Rajesh Balamohan
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]