Designing for Scalability with Erlang/OTP. Implement Robust, Fault-Tolerant Systems

- Autorzy:
- Francesco Cesarini, Steve Vinoski
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 482
- Dostępne formaty:
-
ePubMobi
Opis książki: Designing for Scalability with Erlang/OTP. Implement Robust, Fault-Tolerant Systems
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
Wybrane bestsellery
-
This book is an in-depth introduction to Erlang, a programming language ideal for any situation where concurrency, fault tolerance, and fast response is essential. Erlang is gaining widespread adoption with the advent of multi-core processors and their new scalable approach to concurrency. With t...(0,00 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Czy wiesz, że projektowanie skutecznych produktów cyfrowych, takich jak aplikacje, strony czy systemy, to znacznie więcej niż nadanie im ładnego wyglądu? O ich sukcesie przesądza równowaga między użytecznością, zaspokajaniem potrzeb użytkownika a szatą graficzną. Jeśli chcesz się dowiedzieć, jak ...(0,00 zł najniższa cena z 30 dni)
51.35 zł
79.00 zł(-35%) -
Jeżeli chcesz poznać potencjał tego duetu i zacząć tworzyć atrakcyjne aplikacje internetowe, nie możesz obejść się bez tej książki. Pomoże Ci ona szybko stworzyć pierwszy skrypt. W trakcie lektury poznasz niuanse składni JavaScriptu, sposoby obsługi zdarzeń oraz obiektowy model strony. Dzięki dal...
JavaScript i jQuery. Interaktywne strony WWW dla każdego. Podręcznik Front-End Developera JavaScript i jQuery. Interaktywne strony WWW dla każdego. Podręcznik Front-End Developera
(0,00 zł najniższa cena z 30 dni)64.35 zł
99.00 zł(-35%) -
Praktyka stanowi podstawę pełnego zrozumienia każdego etapu procesu projektowego, ułatwia zapamiętywanie zagadnień i pokazuje zależności, jakie między nimi występują. Ćwicząc, nabierasz pewności, ugruntowujesz wiedzę. Ponadto dzięki takiej aktywności pokazujesz sobie i otoczeniu, że naprawdę znas...(0,00 zł najniższa cena z 30 dni)
38.94 zł
59.90 zł(-35%) -
Dobrodziejstwa technologiczne otoczyły życie człowieka jak pajęczyna, z której już dziś wydostać się jest niezwykle ciężko, a za kilka lat może to być już całkiem niemożliwe. Rozwój nowoczesnych technologii niesie ze sobą wiele korzyści, ale i jeszcze więcej zagrożeń. Rodzi również pytania o kond...
Cyberkolonializm. Poznaj świat cyfrowych przyjaciół i wrogów Cyberkolonializm. Poznaj świat cyfrowych przyjaciół i wrogów
(0,00 zł najniższa cena z 30 dni)13.90 zł
44.90 zł(-69%) -
Oto znakomity przewodnik po Kubernetesie. Dzięki niemu w ciągu 22 godzinnych lekcji poznasz najważniejsze możliwości Kubernetesa. Od początku będziesz się koncentrować na praktyce: dzięki codziennym ćwiczeniom, przykładom i laboratoriom zdobędziesz biegłość w używaniu najlepszych narzędzi Kuberne...(0,00 zł najniższa cena z 30 dni)
83.85 zł
129.00 zł(-35%) -
The ability to administer and monitor a Kubernetes cluster is in high demand today. To meet this need, the Cloud Native Computing Foundation developed a certification exam to establish an administrator's credibility and value in the job market to confidently work in a Kubernetes environment.The C...
Certified Kubernetes Administrator (CKA) Study Guide Certified Kubernetes Administrator (CKA) Study Guide
(0,00 zł najniższa cena z 30 dni)203.15 zł
239.00 zł(-15%) -
To praktyczny przewodnik dla inżynierów, którzy chcą planować i wdrażać usługi Amazon Web Services. Przyda się również osobom planującym zdobycie certyfikatu AWS. Przedstawiono tu zasady pracy zgodne z najlepszymi praktykami Well-Architected Framework firmy Amazon, wprowadzono kluczowe koncepcje,...
Amazon Web Services. Podstawy korzystania z chmury AWS Amazon Web Services. Podstawy korzystania z chmury AWS
(0,00 zł najniższa cena z 30 dni)57.85 zł
89.00 zł(-35%) -
Automatyka przemysłowa to najszybciej rozwijający się dział inżynierii elektrycznej. Nic w tym dziwnego - obecnie w wytwórczości dąży się do maksymalnego zautomatyzowania procesów produkcyjnych. By tak się stało, paradoksalnie potrzeba ludzi. Specjalistów, którzy rozumieją zasady, na jakich pracu...
SIMATIC Motion Control - sterowanie serwonapędami. Teoria. Aplikacje. Ćwiczenia SIMATIC Motion Control - sterowanie serwonapędami. Teoria. Aplikacje. Ćwiczenia
(0,00 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
Dzięki temu praktycznemu przewodnikowi po Django zdobędziesz wiedzę i pewność siebie potrzebne do budowania rzeczywistych aplikacji w Pythonie. W przystępny sposób opisano tu podstawowe koncepcje i funkcje Django, a następnie pokazano poszczególne etapy cyklu rozwoju rzeczywistej aplikacji intern...
Django. Tworzenie nowoczesnych aplikacji internetowych w Pythonie Django. Tworzenie nowoczesnych aplikacji internetowych w Pythonie
Ben Shaw, Saurabh Badhwar, Andrew Bird, Bharath Chandra K S, Chris Guest
(0,00 zł najniższa cena z 30 dni)83.85 zł
129.00 zł(-35%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-493-6156-3, 9781449361563
- Data wydania ebooka:
-
2016-05-16
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 10.7MB
- Rozmiar pliku Mobi:
- 10.7MB
- Kategorie:
Technologie webowe » Inne
Serwery internetowe » Inne
Spis treści książki
- Preface
- Francesco: Why This Book?
- Steve: Why This Book?
- Who Should Read This Book
- How To Read This Book
- Acknowledgments
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- 1. Introduction
- Defining the Problem
- OTP
- Erlang
- Tools and Libraries
- System Design Principles
- Erlang Nodes
- Distribution, Infrastructure, and Multicore
- Summing Up
- What Youll 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
- Whats 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
- Whats Next?
- 4. Generic 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
- Whats Next?
- 5. Controlling OTP Behaviors
- The sys Module
- Tracing and Logging
- System Messages
- Your Own Trace Functions
- Statistics, Status, and State
- The sys Module Recap
- The sys Module
- Spawn Options
- Memory Management and Garbage Collection
- Process heap
- Virtual binary heap
- Full sweep of the heap
- Memory Management and Garbage Collection
- Spawn Options to Avoid
- Timeouts
- Summing Up
- Whats Next?
- 6. Finite State Machines
- Finite State Machines the Erlang Way
- Coffee FSM
- The Hardware Stub
- The Erlang Coffee Machine
- Starting
- The events
- The selection state
- The payment state
- The remove state
- Generic FSMs
- A Behavior Example
- Starting the FSM
- Sending Events
- Asynchronous events
- Defining states
- Timeouts
- Asynchronous events to all states
- Synchronous events
- Termination
- Summing Up
- Get Your Hands Dirty
- The Phone Controllers
- Lets Test It
- Whats Next?
- 7. Event Handlers
- Events
- Generic Event Managers and Handlers
- Starting and Stopping Event Managers
- Adding Event Handlers
- Deleting an Event Handler
- Sending Synchronous and Asynchronous Events
- Retrieving Data
- Handling Errors and Invalid Return Values
- Swapping Event Handlers
- Wrapping It All Up
- The SASL Alarm Handler
- Summing Up
- Whats Next?
- 8. Supervisors
- Supervision Trees
- OTP Supervisors
- The Supervisor Behavior
- Starting the Supervisor
- The Supervisor Specification
- The restart specification
- The child specification
- Dynamic Children
- Simple one for one
- Gluing it all together
- Non-OTP-Compliant Processes
- Supervisor bridges
- Adding non-OTP-compliant processes
- Scalability and Short-Lived Processes
- Synchronous Starts for Determinism
- Testing Your Supervision Strategy
- How Does This Compare?
- Summing Up
- Whats Next?
- 9. Applications
- How Applications Run
- The Application Structure
- The Callback Module
- Starting and Stopping Applications
- Application Resource Files
- The Base Station Controller Application File
- Starting an Application
- Environment Variables
- Application Types and Termination Strategies
- Distributed Applications
- Start Phases
- Included Applications
- Start Phases in Included Applications
- Combining Supervisors and Applications
- The SASL Application
- Progress Reports
- Error Reports
- Crash Reports
- Supervisor Reports
- Summing Up
- Whats Next?
- 10. Special Processes and Your Own Behaviors
- Special Processes
- The Mutex
- Starting Special Processes
- Basic template for starting a special process
- Asynchronously starting a special process
- The Mutex States
- Handling Exits
- System Messages
- Trace and Log Events
- Putting It Together
- Dynamic Modules and Hibernating
- Special Processes
- Your Own Behaviors
- Rules for Creating Behaviors
- An Example Handling TCP Streams
- Summing Up
- Whats Next?
- 11. System Principles and Release Handling
- System Principles
- Release Directory Structure
- Release Resource Files
- Creating a Release
- Creating the Boot File
- Script files
- The make_script parameters
- Creating a Release Package
- Start Scripts and Configuring on the Target
- Arguments and Flags
- Heart
- The Erlang loader
- System Principles
- The init Module
- Rebar3
- Generating a Rebar3 Release Project
- Creating a Release with Rebar3
- Rebar3 Releases with Project Dependencies
- Wrapping Up
- Whats Next?
- 12. Release Upgrades
- Software Upgrades
- The First Version of the Coffee FSM
- Adding a State
- Software Upgrades
- Creating a Release Upgrade
- The Code to Upgrade
- Application Upgrade Files
- High-Level Instructions
- Release Upgrade Files
- Low-Level Instructions
- Installing an Upgrade
- The Release Handler
- Upgrading Environment Variables
- Upgrading Special Processes
- Upgrading in Distributed Environments
- Upgrading the Emulator and Core Applications
- Upgrades with Rebar3
- Summing Up
- Whats Next?
- 13. Distributed Architectures
- Node Types and Families
- Networking
- Distributed Erlang
- Riak Core
- Scalable Distributed Erlang
- Distributed Erlang
- Sockets and SSL
- Service Orientation and Microservices
- Peer to Peer
- Interfaces
- Summing Up
- Whats Next?
- 14. Systems That Never Stop
- Availability
- Fault Tolerance
- Resilience
- Reliability
- At most once, exactly once, and at least once
- Sharing Data
- Share nothing
- Share something
- Share everything
- Availability
- Tradeoffs Between Consistency and Availability
- Summing Up
- Whats Next?
- 15. Scaling Out
- Horizontal and Vertical Scaling
- Capacity Planning
- Capacity Testing
- Generating load
- Capacity Testing
- Balancing Your System
- Finding Bottlenecks
- Synchronous versus asynchronous calls
- System Blueprints
- Load Regulation and Backpressure
- Summing Up
- Whats Next?
- 16. Monitoring and Preemptive Support
- Monitoring
- Logs
- Metrics
- Alarms
- Monitoring
- Preemptive Support
- Summing Up
- Whats Next?
- Index
O'Reilly Media - inne książki
-
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
296.65 zł
349.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)262.65 zł
309.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
DevOps engineers, developers, and security engineers have ever-changing roles to play in today's cloud native world. In order to build secure and resilient applications, you have to be equipped with security knowledge. Enter security as code.In this book, authors BK Sarthak Das and Virginia Chu d...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
With the increasing use of AI in high-stakes domains such as medicine, law, and defense, organizations spend a lot of time and money to make ML models trustworthy. Many books on the subject offer deep dives into theories and concepts. This guide provides a practical starting point to help develop...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn th...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Designing for Scalability with Erlang/OTP. Implement Robust, Fault-Tolerant Systems Francesco Cesarini, Steve Vinoski (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.