I’ve been looking at Zookeeper recently and wondered whether anybody was using it currently and what they were specifically using it for storing.
The most common use case is for configuration information, but what kind of data and how much data are you storing?
The Apache CXF implementation of DOSGi uses zookeeper for its service registration repository. Individual containers have a distributed software (dsw) bundle that listens for all service events and when a service status changes that has a property indicating distribution. The dsw talks to the discovery bundle which, in the reference implementation case, uses zookeeper to store service as ephemeral nodes. Other instances will look for changes to the node structure and register proxies on their local systems. The end result is you can code to plain OSGi and end up with transparent distribution.