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 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.