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 ...
Get Adopting Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.