Part 2. Fault tolerance, supervision, and distribution

We’ve come to the area where most languages and platforms struggle to do well: fault tolerance and distribution. In chapter 5, you’ll learn about the primitives that the Erlang VM provides to detect when processes crash.

Then you’ll learn about the second OTP behavior, Supervisor, and how to manage hierarchies of processes and automatically take action when a process crashes. Chapters 6 and 7 are dedicated to building a full-featured worker-pool application that uses GenServers and Supervisors.

Chapters 8 and 9 explore distribution through the lens of load balancing and fault tolerance. By the end of those two chapters, you’ll have built a distributed load tester: a distributed, fault-tolerant ...

Get The Little Elixir & OTP Guidebook 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.