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