PragmaticBookshelf

PragmaticBookshelf

Forum Sponsor

Programmer Passport: OTP (PragProg)

Bruce Tate @redrapids

edited by Jacquelyn Carter @jkcarter

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.

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.

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.

Bruce A. Tate is a programmer and CEO of Groxio where he is helping to redefine how computer languages are taught and learned. He’s the author of Seven Languages in Seven Weeks and Programming Phoenix LiveView, among other titles, and has been involved with Elixir from the very beginning. He’s written more than 10 books.


Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

First Post!

bmitc

bmitc

Looks interesting and like good practice for not only understanding GenServer but also base processes and messaging. Is there any comparison to Elixir in Action, which also contains material on how to build up a basic GenServer-like process?

Where Next?

Popular in Books Top

AstonJ
https://github.com/happi/theBeamBook A short and personal history of the book I, Erik Stenman (Happi), started writing this book back ...
New
peerreynders
An Outsider’s Guide to Statically Typed Functional Programming by Brian Marick This book is about using statically typed functional p...
New
AstonJ
Classing this as a free online book :003: By Sean Callan with help from the community Lessons about the Elixir programming langua...
New
radar
by Ryan Bigg Joy of Elixir came about because I saw that there was not very much when it comes to absolute beginner material for lear...
New
PragmaticBookshelf
Alexander Koutmos Bruce A. Tate @redrapids Frank Hunleth @fhunleth edited by Jacquelyn Carter @jkcarter The Elixir programming langua...
New
meraj_enigma
New book from Packt publication that goes into teaching how to write a web framework using Elixir. About this book Elixir’s functional...
New
shankardevy
Dear Elixir Alchemists I’m happy to share that I’m working on my 2nd series of books (See my first one here) and this time it’s about As...
New

Other popular topics Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement