bud on multiple boxes
We're going to deploy bud on multiple boxes in different DCs for DNS round-robin failover.
In the docs is a hint that ticket rotation will be a problem in this case (if I understand correctly). What is the setup for synchronized ticket rotation?
And: will there be any other problems?
@phillipp yeah, the way it works right now is following:
- master spawns workers
- after some time master sends new ticket key to the workers using IPC
The way it should work on multi-box deployment is following:
- Something should spawn masters and connect to their ipc channels (using
"master_ipc": true) - Periodically send the same key to all masters in cluster
- Masters will send keys to workers
The problem is that there is no implementation for this multi-box thing yet.
Guess, I can amend the node.js wrapper of bud, and make it expose this key rotation APIs using plain HTTP. But someone will need to start them, and to coordinate ticket rotation between multiple servers.
Does it make sense?