O'Reilly logo

Learning Elixir by Kenny Ballou

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

Chapter 8. Distributed Elixir – Taking Concurrency to the Next Node

Generally, when we want to run code on different computers, we have to write special programs to handle loading code and sending data between nodes. This process is itself very error-prone and hard to get correct.

However, in Elixir and OTP, the hard work of getting code loaded on multiple machines and cooperating is done for us; the OTP framework will load code, connect nodes, and handle the task of distributing applications.

OTP will not do all the work, but it gives a good amount of tools to help guide us in the right direction and help us make the right choices.

Obligatory discussion about distributed computing

 

"Distributed computing is hard"

 
 --Everyone

This quote, of course, ...

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