You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (JIRA)" <ji...@apache.org> on 2018/10/24 02:04:00 UTC

[jira] [Resolved] (ZOOKEEPER-3163) Use session map to improve the performance when closing session in Netty

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

Michael Han resolved ZOOKEEPER-3163.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 665
[https://github.com/apache/zookeeper/pull/665]

> Use session map to improve the performance when closing session in Netty
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3163
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3163
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Fangmin Lv
>            Assignee: Fangmin Lv
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Previously, it needs to go through all the cnxns to find out the session to close, which is O(N), N is the total connections we have.
> This will affect the performance of close session or renew session if there are lots of connections on this server, this JIRA is going to reuse the session map code in NIO implementation to improve the performance.



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