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

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

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

Yisong Yue updated ZOOKEEPER-3484:
----------------------------------
    Description: The "processRequest(Request request)" function in FinalRequestProcessor.java synchronizes 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.  (was: 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.)

> 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
>            Priority: Major
>             Fix For: 3.6.0
>
>
> The "processRequest(Request request)" function in FinalRequestProcessor.java synchronizes 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)