Chapter 8. Distribution and load balancing

This chapter covers

  • The basics of distributed Elixir
  • Implementing a distributed load tester
  • Building a command-line application
  • Tasks: an abstraction for short-lived computations
  • Implementing a distributed, fault-tolerant application

This chapter and the next will be the most fun chapters (I say that about every chapter). In this chapter, we’ll explore the distribution capabilities of the Erlang VM. You’ll learn about the distribution primitives that let you create a cluster of nodes and spawn processes remotely. The next chapter will explore failover and takeover in a distributed system.

In order to demonstrate all these concepts, you’ll build two applications. The first is a command-line tool to ...

Get The Little Elixir & OTP Guidebook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.