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-3163) Use session map to improve the performance when closing session in Netty
Date Tue, 09 Oct 2018 15:55:00 GMT
Fangmin Lv created ZOOKEEPER-3163:
-------------------------------------

             Summary: 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
             Fix For: 3.6.0


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)

Mime
View raw message