描述
开 本: 16开纸 张: 胶版纸包 装: 平装-胶订是否套装: 否国际标准书号ISBN: 9787564169022
内容简介
如果你需要构建一个具有高可用性需求的可扩展容错系统,请了解为什么Erlang/OTP平台因其功能的广度、深度和一致性而脱颖而出。弗朗西斯科·切萨里尼、史蒂夫·温斯基*的《ErlangOTP可扩展性设计指南(影印版)(英文版)》演示如何使用Erlang编程语言及其OTP框架的可重用库、工具和设计原则来开发复杂的根本不会失败的商业级系统。
在本书的**部分中,你将学习如何使用Erlang
/
OTP设计和实现进程行为与监督树,并将它们捆绑到独立节点中。第二部分涉及整体系统设计中的可靠性、可扩展性和高可用性。如果你熟悉Erlang,本书将帮助你了解系统持续运行所需的设计选择和权衡。
在本书的**部分中,你将学习如何使用Erlang
/
OTP设计和实现进程行为与监督树,并将它们捆绑到独立节点中。第二部分涉及整体系统设计中的可靠性、可扩展性和高可用性。如果你熟悉Erlang,本书将帮助你了解系统持续运行所需的设计选择和权衡。
目 录
Preface
1.Introduction
Defining the Problem
OTP
Edang
Tools and Libraries
System Design Principles
Edang Nodes
Distribution, Infrastructure, and Multicore
Summing Up
What You'll Learn in This Book
2.Introducing Erlang
Recursion and Pattern Matching
Functional Influence
Fun with Anonymous Functions
List Comprehensions: Generate and Test
Processes and Message Passing
Fail Safe!
Links and Monitors for Supervision
Links
Monitors
Records
Maps
Macros
Upgrading Modules
ETS: Erlang Term Storage
Distributed Erlang
Naming and Communication
Node Connections and Visibility
Summing Up
What's Next?
3.Behaviors
Process Skeletons
Design Patterns
Callback Modules
Extracting Generic Behaviors
Starting the Server
The Client Functions
The Server Loop
Functions Internal to the Server
The Generic Server
Message Passing: Under the Hood
Summing Up
What's Next?
4.Genetic Servers
Generic Servers
Behavior Directives
Starting a Server
Message Passing
Synchronous Message Passing
Asynchronous Message Passing
Other Messages
Unhandled Messages
Synchronizing Clients
Termination
Call Timeouts
Deadlocks
Generic Server Timeouts
Hibernating Behaviors
Going Global
Linking Behaviors
Summing Up
What's Next?
5.Controlling 0TP Behaviors
The sys Module
6.Finite State Machines
7.Event Handlers.
8.Supervisors
9.Applications
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






评论
还没有评论。