Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. Defining the Problem

    2. OTP

    3. Distribution, Infrastructure, and Multicore

    4. Summing Up

    5. What You’ll Learn in This Book

  2. Chapter 2 Introducing Erlang

    1. Recursion and Pattern Matching

    2. Functional Influence

    3. Processes and Message Passing

    4. Fail Safe!

    5. Links and Monitors for Supervision

    6. Records

    7. Maps

    8. Macros

    9. Upgrading Modules

    10. ETS: Erlang Term Storage

    11. Distributed Erlang

    12. Summing Up

    13. What’s Next?

  3. Chapter 3 Behaviors

    1. Process Skeletons

    2. Design Patterns

    3. Extracting Generic Behaviors

    4. The Generic Server

    5. Message Passing: Under the Hood

    6. Summing Up

    7. What’s Next?

  4. Chapter 4 Generic Servers

    1. Generic Servers

    2. Behavior Directives

    3. Starting a Server

    4. Message Passing

    5. Termination

    6. Call Timeouts

    7. Generic Server Timeouts

    8. Going Global

    9. Linking Behaviors

    10. Summing Up

    11. What’s Next?

  5. Chapter 5 Controlling OTP Behaviors

    1. The sys Module

    2. Spawn Options

    3. Summing Up

    4. What’s Next?

  6. Chapter 6 Finite State Machines

    1. Finite State Machines the Erlang Way

    2. Coffee FSM

    3. Generic FSMs

    4. A Behavior Example

    5. Summing Up

    6. Get Your Hands Dirty

    7. What’s Next?

  7. Chapter 7 Event Handlers

    1. Events

    2. Generic Event Managers and Handlers

    3. The SASL Alarm Handler

    4. Summing Up

    5. What’s Next?

  8. Chapter 8 Supervisors

    1. Supervision Trees

    2. OTP Supervisors

    3. How Does This Compare?

    4. Summing Up

    5. What’s Next?

  9. Chapter 9 Applications

    1. How Applications Run

    2. The Application Structure

    3. The Callback Module

    4. Application Resource Files

    5. Starting an Application

    6. Environment Variables

    7. Application Types and Termination Strategies

    8. Distributed Applications

    9. Start Phases

    10. Included Applications

    11. Combining Supervisors and Applications

    12. The SASL Application

    13. Summing Up

    14. What’s Next?

  10. Chapter 10 Special Processes and Your Own Behaviors

    1. Special Processes

    2. Your Own Behaviors

    3. Summing Up

    4. What’s Next?

  11. Chapter 11 System Principles and Release Handling

    1. System Principles

    2. Rebar3

    3. Wrapping Up

    4. What’s Next?

  12. Chapter 12 Release Upgrades

    1. Software Upgrades

    2. Creating a Release Upgrade

    3. Upgrading Special Processes

    4. Upgrading in Distributed Environments

    5. Upgrading the Emulator and Core Applications

    6. Upgrades with Rebar3

    7. Summing Up

    8. What’s Next?

  13. Chapter 13 Distributed Architectures

    1. Node Types and Families

    2. Networking

    3. Interfaces

    4. Summing Up

    5. What’s Next?

  14. Chapter 14 Systems That Never Stop

    1. Availability

    2. Summing Up

    3. What’s Next?

  15. Chapter 15 Scaling Out

    1. Horizontal and Vertical Scaling

    2. Capacity Planning

    3. Load Regulation and Backpressure

    4. Summing Up

    5. What’s Next?

  16. Chapter 16 Monitoring and Preemptive Support

    1. Monitoring

    2. Preemptive Support

    3. Summing Up

    4. What’s Next?