Book description
If you need to build a scalable, fault tolerant system with requirements for high availability, discover why the Erlang/OTP platform stands out for the breadth, depth, and consistency of its features. This hands-on guide demonstrates how to use the Erlang programming language and its OTP framework of reusable libraries, tools, and design principles to develop complex commercial-grade systems that simply cannot fail.
In the first part of the book, you’ll learn how to design and implement process behaviors and supervision trees with Erlang/OTP, and bundle them into standalone nodes. The second part addresses reliability, scalability, and high availability in your overall system design. If you’re familiar with Erlang, this book will help you understand the design choices and trade-offs necessary to keep your system running.
- Explore OTP’s building blocks: the Erlang language, tools and libraries collection, and its abstract principles and design rules
- Dive into the fundamentals of OTP reusable frameworks: the Erlang process structures OTP uses for behaviors
- Understand how OTP behaviors support client-server structures, finite state machine patterns, event handling, and runtime/code integration
- Write your own behaviors and special processes
- Use OTP’s tools, techniques, and architectures to handle deployment, monitoring, and operations
Publisher resources
Table of contents
- Preface
- 1. Introduction
- 2. Introducing Erlang
- 3. Behaviors
- 4. Generic Servers
- 5. Controlling OTP Behaviors
- 6. Finite State Machines
- 7. Event Handlers
- 8. Supervisors
-
9. Applications
- How Applications Run
- The Application Structure
- The Callback Module
- Application Resource Files
- Starting an Application
- Environment Variables
- Application Types and Termination Strategies
- Distributed Applications
- Start Phases
- Included Applications
- Combining Supervisors and Applications
- The SASL Application
- Summing Up
- What’s Next?
- 10. Special Processes and Your Own Behaviors
- 11. System Principles and Release Handling
- 12. Release Upgrades
- 13. Distributed Architectures
- 14. Systems That Never Stop
- 15. Scaling Out
- 16. Monitoring and Preemptive Support
- Index
Product information
- Title: Designing for Scalability with Erlang/OTP
- Author(s):
- Release date: May 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449361563
You might also like
book
Building Event-Driven Microservices
Organizations today often struggle to balance business requirements with ever-increasing volumes of data. Additionally, the demand …
video
Design Patterns in the Real World, an Analysis-Based Approach
Alan Holub takes coders deep into the reality of Gang-of-Four design patterns, those reusable guides to …
book
API Design Patterns
A collection of best practices and design standards for web and internal APIs. In API Design …
book
Microservices Patterns
Microservices Patterns teaches enterprise developers and architects how to build applications with the microservice architecture. Rather …