You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/07/20 19:20:00 UTC
[jira] [Updated] (ZOOKEEPER-3097) Use Runnable instead of Thread
for working items in WorkerService to improve the throughput of
CommitProcessor
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ZOOKEEPER-3097:
--------------------------------------
Labels: performance pull-request-available (was: performance)
> 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
>
>
> 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)