zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fangmin Lv (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3097) Use Runnable instead of Thread for working items in WorkerService to improve the throughput of CommitProcessor
Date Fri, 20 Jul 2018 19:14:00 GMT
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)

Mime
View raw message