We use ZooKeeper for live settings. One idea is to use a registry.
Say you have a component called Arst.
You can have several configurations, for example, for redis in these folders, each of which represents a different instance:
/dbs/redis/0 (host, port, db, password as children) /dbs/redis/1 (host, port, db, password as children) /dbs/redis/prod (host, port, db, password as children)
And if your Arst component needs to use instance 0, you might have a registry like this:
/arst/redis/0
If you want to add 1, just add node, and the child hours in the application will update things for you without rebooting. This is not very easy to do, and managing the settings can be a pain for commands like qa.
So, I will also be working on the console to handle this. We will open sources.
source share