Chapter 14. An Introduction to OTP

In this chapter, we’ll get started with Erlang’s OTP framework. OTP stands for Open Telecom Platform, though these days it’s more about software that has the properties of telecom applications than telecom itself. If half of Erlang’s greatness comes from its concurrency and distribution, and the other half comes from its error handling capabilities, then the OTP framework provides the third half.

During the previous chapters we’ve seen a few examples of common practices of how to write concurrent applications with the language’s built-in facilities: links, monitors, servers, timeouts, trapping exits, and so on. There were a few “gotchas” involved in concurrent programming: Things must be done in a certain order, ...

Get Learn You Some Erlang for Great Good! now with O’Reilly online learning.

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