Storing all genserver pid in ets table in each node

You’re right, it shouldn’t be part of the BEAM cluster at all, but a standalone service, e.g., HTTP REST API.

Ah yes.

In that case a tool like zookeeper is already made for that exact use case I believe.