Fangmin Lv created ZOOKEEPER-3690: ------------------------------------- Summary: 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
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)