Phillipp

Phillipp OP

We are not in the scope of a distributed system right now. Everything is still local.

0
Post #21
xlphs

xlphs

Have you actually checked? It’s not an exceptional case for processes to go down, something like Re-registering a process upon restart · Issue #16 · uwiger/gproc · GitHub

If you are assigning labels dynamically (after init), then you can use Process.monitor/1 to receive DOWN messages, then restart or handle appropriately.

Eg. I have one design where processes are supervised but they are transient and I monitor/restart them under another GenServer.

0
Post #22
tty

tty

Could a combination of pg2 and assigning unique names to the processes solve your problem ?

0
Post #23
— All posts loaded —