zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Too many connections
Date Wed, 06 Oct 2010 20:36:34 GMT
On Tue, Oct 5, 2010 at 10:23 AM, Avinash Lakshman <
avinash.lakshman@gmail.com> wrote:

> So shouldn't all servers in another DC just have one session? So even if I
> have 50 observers in another DC that should be 50 sessions established
> since
> the IP doesn't change correct? Am I missing something? In some ZK clients I
> see the following exception even though they are in the same DC.
>
>
This really depends on how you implemented your client. Each time you create
a ZooKeeper object a new session is established. If you have 50 clients each
creating a ZooKeeper object then you have 50 sessions.

Patrick

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message