zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: ZooKeeper Limitation
Date Thu, 11 Aug 2011 21:06:18 GMT
1M byte is the limit.

You need to put multiple levels of directory in there.  500,000 znodes in a
single directory won't work.

On Thu, Aug 11, 2011 at 1:33 PM, yosefarr <yosef.arraf@gmail.com> wrote:

> Thanks you for your replay,
> What do you mean that there is limit on data calls to ZK?what is the limit?
> We will have  too many direct childrens for a znode:
>  /znode
>      /child-1
>      /child-2
>      ........
>      /child-n
> when "n" can be 500000 or more
> in this case if i run getChildren("/znode") ,does this call will fail?
> or getData("/znode/child-n") will fail?
>
> Thanks
> Yosef.
>
>
> On Thu, Aug 11, 2011 at 8:32 PM, Mahadev Konar-4 [via zookeeper-user] <
> ml-node+6677260-1581576647-343064@n2.nabble.com> wrote:
>
> > Yosef,
> >  There isnt a limit on the number of ZK node numbers directly. We do
> > have a limit on data calls to ZK. So in your case if you have too many
> > direct children of a single znode (say millions), the getChildren
> > calls return an error. I'd advise against having too many direct
> > chidlren for a znode. Bucketing the users might make sense for you if
> > you have too many users.
> >
> > thanks
> > mahadev
> >
> > On Thu, Aug 11, 2011 at 2:19 AM, yosefarr <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=6677260&i=0>>
> > wrote:
> >
> > > Hi,
> > > If i want to save users that connect to my system as zookeeper nodes
> and
> > > each user has some proprties - connection id, user name and etc:
> > > i need to know if there is a Limitation on ZooKeeper nodes numbers?
> > >
> > > /server1
> > >      /user-1
> > >      /user-2
> > >      ........
> > >      /user-n
> > >
> > > Thanks,
> > > Yosef.
> > >
> > > --
> > > View this message in context:
> >
> http://zookeeper-user.578899.n2.nabble.com/ZooKeeper-Limitation-tp6675643p6675643.html
> > > Sent from the zookeeper-user mailing list archive at Nabble.com.
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://zookeeper-user.578899.n2.nabble.com/ZooKeeper-Limitation-tp6675643p6677260.html
> >  To unsubscribe from ZooKeeper Limitation, click here<
> http://zookeeper-user.578899.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6675643&code=eW9zZWYuYXJyYWZAZ21haWwuY29tfDY2NzU2NDN8MTI4MTA4Mjk2NQ==
> >.
> >
> >
>
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/ZooKeeper-Limitation-tp6675643p6677984.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.

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