Remote Message Passing
Throughout this book, we’ve been addressing your Elixir adoption one layer at a time. We started with functions and walked through how to organize code and think functionally. Next, we moved into concurrency. In Elixir, the fundamental constructs for concurrency are processes, and the OTP abstraction built upon them. We talked about building layered applications and a structure for sending messages between them.
Next, we’ll introduce the concept of nodes. A node is an abstract group of processes. They may be running on the same machine or different ones. When you’re using Elixir, you send messages between remote processes and local processes in exactly the same way. That means processes form the foundation of distributed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access