Автор: Вruсе Таtе
Издательство: The Pragmatic Programmers
Год: June 2022 (Version: P1.0)
Формат: pdf (true), epub, mobi
Размер: 10.1 MB
OTP is the heart of the rapidly growing Elixir, the functional language at the heart of Phoenix and LiveView. OTP enables exciting concurrent applications with among the best reliability properties in the world. With this book, you'll learn to code systems that can detect failure and recover from it automatically using the same techniques behind the world's telecommunication systems. By plugging into OTP, your own libraries will handle concurrent requests robustly, and seamlessly integrate with other supervised Elixir and Erlang applications. If you're looking to take your next step as an Elixir developer, look no further than OTP.
OTP is a library for building fault tolerant systems with self-healing properties; its services power many of the world's reliable telecom infrastructure. It also powers many of Elixir's most powerful capabilities. In this fast-paced book - first published with Groxio's Programmer Passport - you'll learn about the most important abstractions that power OTP. This approachable guide will give you a high-level understanding before diving into individual details. This understanding will tell you how the core APIs work so you'll know why Elixir programmers write code the way they do.
OTP is one of the most consequential inventions in the entire Erlang and Elixir ecosystems. The library provides a common framework for reliably starting, stopping, and running concurrent workers. OTP is the reason many developers learn Erlang or Elixir. Elixir’s wonderful management characteristics and seamless concurrency flow out of OTP. If you’re looking to take the step from beginner to intermediate Elixir developer, OTP would be a great place to start.
Still, this short book fills a nice niche. OTP is a behaviour, a program written by someone else. The only way to understand OTP is to know what the behaviour is doing under the surface. After teaching OTP for four years, I’ve learned that many developers don’t understand the underlying behaviour, so they need more than the documentation. At the same time, they don’t always have the time or attention for a longer text. This small companion to Groxio’s OTP course presents a no-frills treatment for those needing more than stock documentation or blog posts, without reading a more expansive OTP treatment.
To start, this guide will walk you through building your own basic service that works in the same way as OTP's foundational GenServer. This quick exercise will gently ease you into the way GenServers work. You'll build your own GenServer, and then quickly move on to adding the supervision services to enable the reliability and self-healing properties that make Elixir famous. Once you've done so, you'll add features like a dynamic supervisor, and use a process registry to make your program more flexible and dynamic.
What You Need
You'll need Elixir version 1.12 or greater.
Find out what Groxio customers already know. The assistance of an experienced guide will help you learn how to use OTP to build reliable, highly concurrent systems more quickly than you could without one.
Выгодные предложения от нашего партнёра ИГ "ЭКСМО-АРТ":
Все материалы, представленные на нашем сайте, Вы сможете скачать по ссылкам различных бесплатных файлообменников совершенно бесплатно!
Инструкции, поясняющие, как надо качать бесплатно с файлообменников смотреть тут
Регистрация на нашем сайте позволит Вам добавлять свои книги, а также комментировать опубликованные книги, общаться с нашими авторами.
Для этого мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.