The title pretty much explains it;
Is it possible? I want to create a master-backup relationship where if the master fails, the backup takes over, becomes the master and creates its own backup and keeps running. I'm using listenMulticast
to broadcast so far.
I want a behavior where I print increasing numbers in the terminal for learning purposes. If I send some sort of a interrupt signal, the master should be destroyed but from above, the relationship is re-created and the numbers keeps printing. For this purpose, I don't care if a numbers is skipped, I'm simply after the structure.
Thanks.