O'Reilly logo

Elixir in Action by Saša Jurić

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 5. Concurrency primitives

This chapter covers

  • Understanding BEAM concurrency principles
  • Working with processes
  • Working with stateful server processes
  • Runtime considerations

Now that you have sufficient knowledge of Elixir and functional programming idioms, it’s time to turn our attention to the Erlang platform. We’ll spend some time exploring BEAM concurrency, a feature that plays a central role in Elixir’s and Erlang’s support for scalability, fault-tolerance, and distribution. In this chapter, we’ll start our tour of BEAM concurrency by looking at basic techniques and tools. Before beginning with lower-level details, let’s take a look at higher-level principles.

5.1. Principles

Erlang is all about writing highly available ...

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