curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Techy Teck <comptechge...@gmail.com>
Subject Re: Best Practice while creating znodes?
Date Thu, 07 Nov 2013 22:54:54 GMT
Sure.. Thanks for the help..

Apart from that like, znodes name should be small? Is that the case as
well? Or it doesn't matter if it is long as well?


On Thu, Nov 7, 2013 at 10:57 AM, Jordan Zimmerman <
jordan@jordanzimmerman.com> wrote:

> There are very few limitations on naming. You can't use a slash. Have a
> look at:
>
> org.apache.zookeeper.common.PathUtils
>
> In terms of length, ZooKeeper has a 1MB limit per API call. So, for
> example, if you call getChildren(), the entire length of all the children
> can't exceed 1MB (unless you reconfigure ZK).
>
> -JZ
>
> On Nov 7, 2013, at 10:45 AM, Techy Teck <comptechgeeky@gmail.com> wrote:
>
> Can anyone help me on this?
>
> Is there any best practices that we need to follow while creating the
> znodes?
>
> Meaning the znode name should be small not very large names or there
> shouldn't be a dot or underscore within the word?
>
> Anything like that?
>
> I will be using Apache Curator.
>
>
>
>
> On Wed, Nov 6, 2013 at 11:24 AM, Techy Teck <comptechgeeky@gmail.com>wrote:
>
>> Is there any best practices that we need to follow while creating the
>> znodes?
>>
>> Meaning the znode name should be small not very large names or there
>> shouldn't be a dot or underscore within the word?
>>
>> Anything like that?
>>
>>
>
>

Mime
View raw message