2 ms·
> Sometimes, you don't need language support if you have some clever distributed-systems thinking :) I think you may have outwitted yourself here; I know what
by lelanthran 4y ago
> Sometimes, you don't need language support if you have some clever distributed-systems thinking :)
I think you may have outwitted yourself here; I know what that looks like because I've done it so many times in the past :-)
I'm afraid your solution is not distributed-system safe, as a different bootup order of the nodes[1] in your system would result in a different config value for that key. And, at some point, your nodes are going to come up in a different order.
[1] Nodes == instances of your code that run.