zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] jhuan31 commented on a change in pull request #1045: ZOOKEEPER-3400: Add documentation on local sessions
Date Wed, 04 Sep 2019 03:24:47 GMT
jhuan31 commented on a change in pull request #1045: ZOOKEEPER-3400: Add documentation on local
sessions
URL: https://github.com/apache/zookeeper/pull/1045#discussion_r320558255
 
 

 ##########
 File path: zookeeper-docs/src/main/resources/markdown/zookeeperProgrammers.md
 ##########
 @@ -503,6 +503,85 @@ new list and failing to connect, the client moves back to the normal
mode of ope
 an arbitrary server from the connectString and attempts to connect to it. If that fails,
it will continue
 trying different random servers in round robin. (see above the algorithm used to initially
choose a server)
 
+**local session**.Added in 3.5.0, mainly implemented by [ZOOKEEPER-1147](https://issues.apache.org/jira/browse/ZOOKEEPER-1147).
+
+- Background:The create and close of session is costly in zookeeper, especially when these
operations of sessions need a
+quorum confirmation by leader, which we call this session type: global session. it will be
a bottle neck for ZooKeeper ensemble
+when it wants to handle thousands of client connections.
 
 Review comment:
   The creation and closing of sessions are costly in ZooKeeper because they need quorum confirmations.
They become the bottleneck of a ZooKeeper ensemble when it needs to handle thousands of client
connections.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message