Cover by Fred Hebert

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Chapter 27. Distributed OTP Applications

Although Erlang leaves us with a lot of work to do to build a distributed system, it still provides a few solutions. One of these is the concept of distributed OTP applications. Distributed OTP applications, or just distributed applications in the context of OTP, allow us to define takeover and failover mechanisms. In this chapter, we’ll cover what that means and how it works, and write a little app to demonstrate these concepts.

Adding More to OTP

In Chapter 19, we briefly discussed the structure of an application as something using a central application controller dispatching to application masters, each monitoring a top-level supervisor for an application, like this:

In standard OTP applications, the application ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required