Fangmin Lv created ZOOKEEPER-3097: ------------------------------------- Summary: Use Runnable instead of Thread for working items in WorkerService to improve the throughput of CommitProcessor Key: ZOOKEEPER-3097 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3097 Project: ZooKeeper Issue Type: Improvement Components: server Affects Versions: 3.6.0 Reporter: Fangmin Lv Assignee: Fangmin Lv Fix For: 3.6.0
CommitProcessor is using this to submit read/write tasks, each task is initialized as a thread, which is heavy, change it to a lighter Runnable object to avoid the overhead of initializing the thread, it shows promised improvement in the CommitProcessor. -- This message was sent by Atlassian JIRA (v7.6.3#76005)