User's Guide
PDF
Top
OTP Design Principles
User's Guide
Version 6.0
Expand All
Contract All
Chapters
Overview
Top of chapter
Supervision Trees
Behaviours
Applications
Releases
Release Handling
Gen_Server Behaviour
Top of chapter
Client-Server Principles
Example
Starting a Gen_Server
Synchronous Requests - Call
Asynchronous Requests - Cast
Stopping
Handling Other Messages
Gen_Fsm Behaviour
Top of chapter
Finite State Machines
Example
Starting a Gen_Fsm
Notifying About Events
Timeouts
All State Events
Stopping
Handling Other Messages
Gen_Event Behaviour
Top of chapter
Event Handling Principles
Example
Starting an Event Manager
Adding an Event Handler
Notifying About Events
Deleting an Event Handler
Stopping
Handling Other Messages
Supervisor Behaviour
Top of chapter
Supervision Principles
Example
Restart Strategy
Maximum Restart Frequency
Child Specification
Starting a Supervisor
Adding a Child Process
Stopping a Child Process
Simple-One-For-One Supervisors
Stopping
Sys and Proc_Lib
Top of chapter
Simple Debugging
Special Processes
User-Defined Behaviours
Applications
Top of chapter
Application Concept
Application Callback Module
Application Resource File
Directory Structure
Application Controller
Loading and Unloading Applications
Starting and Stopping Applications
Configuring an Application
Application Start Types
Included Applications
Top of chapter
Definition
Specifying Included Applications
Synchronizing Processes During Startup
Distributed Applications
Top of chapter
Definition
Specifying Distributed Applications
Starting and Stopping Distributed Applications
Failover
Takeover
Releases
Top of chapter
Release Concept
Release Resource File
Generating Boot Scripts
Creating a Release Package
Directory Structure
Release Handling
Top of chapter
Release Handling Principles
Requirements
Distributed Systems
Release Handling Instructions
Application Upgrade File
Release Upgrade File
Installing a Release
Updating Application Specifications
Appup Cookbook
Top of chapter
Changing a Functional Module
Changing a Residence Module
Changing a Callback Module
Changing Internal State
Module Dependencies
Changing Code For a Special Process
Changing a Supervisor
Adding or Deleting a Module
Starting or Terminating a Process
Adding or Removing an Application
Restarting an Application
Changing an Application Specification
Changing Application Configuration
Changing Included Applications
Changing Non-Erlang Code
Emulator Restart and Upgrade
Emulator Upgrade from pre OTP R15
OTP Design Principles User's Guide
Version 6.0
April 7, 2014