You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Yisong Yue (JIRA)" <ji...@apache.org> on 2019/08/01 21:56:00 UTC

[jira] [Created] (ZOOKEEPER-3484) Improve the throughput by optimizing the synchronization around outstandingChanges

Yisong Yue created ZOOKEEPER-3484:
-------------------------------------

             Summary: Improve the throughput by optimizing the synchronization around outstandingChanges
                 Key: ZOOKEEPER-3484
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3484
             Project: ZooKeeper
          Issue Type: Improvement
            Reporter: Yisong Yue
            Assignee: Yisong Yue
             Fix For: 3.6.0


The "processTxn(Request request)" function in ZooKeeperServer.java ("entry point for FinalRequestProcessor.java") is synchronized around `outstandingChanges` for all requests now. However, this synchronization is unnecessary for read requests, and skipping such synchronization for reads can improve the overall throughput of the request processor pipeline.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)