3 ms·
In Erlang, you do send a message to a destination. It also offers a way to register a name to a process, which you can build on to make whatever routing you nee
by toast0 8y ago
In Erlang, you do send a message to a destination. It also offers a way to register a name to a process, which you can build on to make whatever routing you need. Erlang/OTP ships with a module called pg2 that builds a synchronized group of processes in your distributed system, sending to the group will by default pick a local process over a remote process, or you can broadcast to all the processes.