內容簡介
如果你需要構建一個具有高可用性需求的可擴展容錯係統,請瞭解為什麼Erlang/OTP平颱因其功能的廣度、深度和一緻性而脫穎而齣。《Erlang OTP可擴展性設計指南(影印版 英文版)》演示如何使用Erlang編程語言及其OTP框架的可重用庫、工具和設計原則來開發復雜的根本不會失敗的商業級係統。
在《Erlang OTP可擴展性設計指南(影印版 英文版)》的第一部分中,你將學習如何使用Erlang/OTP設計和實現進程行為與監督樹,並將它們捆綁到獨立節點中。第二部分涉及整體係統設計中的可靠性、可擴展性和高可用性。如果你熟悉Erlang,《Erlang OTP可擴展性設計指南(影印版 英文版)》將幫助你瞭解係統持續運行所需的設計選擇和權衡。
目錄
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
精彩書摘
《ErlangOTP可擴展性設計指南(影印版 英文版)》:
It's important to understandthe synchronous nature of start_link and its importance to a repeatable startupsequence.The ability to deterministically reproduce an error is important when trou—bleshooting issues that occur at startup.You could asynchronously start all of theprocesses, checking each afterward to make sure they all started correctly.But as aresult of changing scheduler implementations and configuration values running onmulti—core architectures, deploying to different hardware or operating systems, oreven the state of the network connectivity, the processes would not necessarily alwaysinitialize their state and complete the startup sequence in the same order.If all goeswell, you won't have an issue with the variability inherent in an asynchronous startupapproach, but if race conditions manifest themselves, trying to figure out what wentwrong and when, especially in production environments, is not for the faint of heart.The synchronous startup approach implemented in start link clearly ensuresthrough its simplicity that each process has started correctly before moving on to the next one, providing determinism and reproducible startup errors on a single node.
……
ErlangOTP可擴展性設計指南(影印版 英文版) epub pdf mobi txt 電子書 下載 2024
ErlangOTP可擴展性設計指南(影印版 英文版) 下載 epub mobi pdf txt 電子書
評分
☆☆☆☆☆
618搞活動買的,很實惠,也很有用,計算機學習很有幫助。。。。。。。。。。。。。。。。。。。
評分
☆☆☆☆☆
應該是正品,印刷紙張不錯,內容NB
評分
☆☆☆☆☆
書很好,物美價廉,隻是還沒有看多少,看夠多瞭再來評價吧
評分
☆☆☆☆☆
3版本的英文原版也齣啦,既然是我的主要工具,那必須買瞭收藏呀,緊跟版本號發展纔是閤格的程序員。??
評分
☆☆☆☆☆
機械工業齣的書越來越垃圾瞭,薄薄的一本定價79,翻譯的質量也很垃圾。把原書有點糟蹋瞭
評分
☆☆☆☆☆
很好,不錯,物流也很快,及時。
評分
☆☆☆☆☆
紙質很好
評分
☆☆☆☆☆
英文原版,物流很快,質量也不錯
評分
☆☆☆☆☆
書的印刷質量不錯。