zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Hanna <jeremy.hanna1...@gmail.com>
Subject metadata versus child znodes
Date Tue, 14 Dec 2010 21:42:00 GMT
Generally speaking are there any best practices around using child znodes versus metadata on
a znode?

I can see specific instances where a child znode would be better:
- need for something ephemeral
- watching something specific rather than all of the znode metadata
- need for children for that data

Data might be better when it's simply configuration data - key/value pairs for example that
is accessed infrequently, since it has to be deserialized from the byte array.

Any other thoughts?  I couldn't find anything in the docs/wiki/user list.
Mime
View raw message