zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mollitor (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ZOOKEEPER-3340) Improve Queue Usage in QuorumCnxManager.java
Date Tue, 09 Apr 2019 14:11:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Mollitor reassigned ZOOKEEPER-3340:
-----------------------------------------

    Assignee: David Mollitor

> Improve Queue Usage in QuorumCnxManager.java
> --------------------------------------------
>
>                 Key: ZOOKEEPER-3340
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3340
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> I was recently profiling a on a ZK Quorum Leader in a low-volume environment and noticed
that most of its time was spent in {{QuorumCnxManager#RecvWorker}}.  Nothing wrong with that,
but it did draw my attention to it.  I noticed that {{Queue}} interactions are a bit... verbose.
 I would like to propose that we streamline this area of the code.
>  
> [https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/main/java/org/apache/zookeeper/server/quorum/QuorumCnxManager.java#L1291-L1309]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message