ostinelli / syn

A scalable global Process Registry and Process Group manager for Erlang and Elixir.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does a GenServer register itself after restart in case of a crash?

egze opened this issue · comments

We are using Swarm now and it has an issue that if a registered pid dies and restarted by a supervisor, then it is not registered anymore. See bitwalker/swarm#6

How does Syn deal with it?

Also, does Syn automatically restart processes on a new node if topology changes and the current node goes down?

Syn allows to use the {via,Module,ViaName} server reference to register gen_server processes. What happens after that is in the hands of Erlang. Have you tried it yourself?