Hi,
Let's say I have application node A, B and C and I have a global registered gen server registered, so it's only spawned on node C. When node C dies, I want it to be started on either note A or B.
Is this possible? It seems like it's not happening by default.
Additional information
I'm writing a chat module for my application where I spawn a gen server for each chat session (only holding 10 chat messages per process).
I've used a dynamic supervisor so I can spawn them alá carte and I'm using a global registry so only one gen_server for the chat session can be spawned.
This worked great until I tried to add and remove nodes from my elixir cluster.