Wrapping Up
In this chapter, we looked at bringing distributed applications into the mix. While the Erlang patterns implemented in Elixir make solving such problems easier, the nuances can take years of experience to get right. The best way to learn is to try and fail (or follow the wisdom others have acquired during their own attempts). You’ve seen a broad collection of advice and experience based on years of experience with Plataformatec and the customers they’ve encountered.
We started the discussion with distributed message passing. You learned that Elixir uses the same abstractions to send local messages and messages across nodes. Along the way, we built a sample app using nothing but the console, and saw how to monitor nodes just as you ...
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