[
https://issues.apache.org/jira/browse/ZOOKEEPER-3097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Han resolved ZOOKEEPER-3097.
------------------------------------
Resolution: Fixed
Fix Version/s: 3.5.5
Issue resolved by pull request 578
[https://github.com/apache/zookeeper/pull/578]
> 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
> Priority: Minor
> Labels: performance, pull-request-available
> Fix For: 3.6.0, 3.5.5
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)