[
https://issues.apache.org/jira/browse/ZOOKEEPER-3690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrico Olivelli resolved ZOOKEEPER-3690.
----------------------------------------
Fix Version/s: 3.7.0
Resolution: Fixed
committed to master branch
thank you [~lvfangmin]
> Improving leader efficiency via not processing learner's requests in commit
> processor
> -------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-3690
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3690
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Fangmin Lv
> Assignee: Fangmin Lv
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.7.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Currently, all the requests forwarded from learners will be processed like
> the locally received requests from leader's clients, which is non-trivial
> effort and not necessary to process those in CommitProcessor with session
> queue create/destroy
> To improve the efficiency, we could skip processing those requests in
> leader's commit processor. Based on the benchmark, this optimization improved
> around 30% maximum write throughput for read/write mixed workload.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)