3 ms·
The Erlang runtime and EPMD takes care of this for you. Every node in the cluster gets a name, so you can address it directly, and, every PID is unique across n
by doawoo 2y ago
The Erlang runtime and EPMD takes care of this for you.
Every node in the cluster gets a name, so you can address it directly, and, every PID is unique across nodes on a cluster, so you can send messages to processes (actors) no matter where they are in the cluster.
OTP is super powerful out of the box :)
- brunoqc 2y agoThanks! I'm taking a look at https://github.com/wmealing/gleam-distribution-demo/tree/main https://github.com/wmealing/gleam-distribution-demo/tree/mai... And https://github.com/wmealing/gleam-otp-design-principals/blob/main/gleam-otp-design-principals.org#starting-up-nodes https://github.com/wmealing/gleam-otp-design-principals/blob...