O'Reilly logo

Adopting Elixir by Jose Valim, Bruce Tate, Ben Marx

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Strategy 3: The Erlang Distribution Protocol

On our spectrum, the strategies have moved from very tight integration within the same process to looser coupling between processes. Both of these techniques integrate systems that reside on the same machine. This last technique will introduce distribution between machines.

In Chapter 6, Distributed Elixir, we introduced the Erlang distribution protocol which Elixir uses to communicate between nodes. There’s no reason to limit its use to the Erlang VM. As long as a language or a platform implements the distribution protocol, you can use that language to communicate with Erlang nodes.

Implementing the Erlang distribution protocol is not easy because it requires the ability to serialize and deserialize ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required