thank you for engaging @cmkarlsson
not really, Horde has a NodeListener genserver implementation for auto handle incoming X outgoing nodes.
And as @adw632 mentioned, we have a mature implementation for strategies for cluster discovery/formation
https://github.com/bitwalker/libcluster