Skip to Content
Phoenix Web Development
book

Phoenix Web Development

by Brandon Richey
April 2018
Beginner to intermediate content levelBeginner to intermediate
406 pages
9h 33m
English
Packt Publishing
Content preview from Phoenix Web Development

Talking about OTP/understanding the model

For us to really begin implementing anything of note that fully utilizes the model behind Elixir, we need to understand a little more about what the model actually looks like. The main idea behind how Elixir is able to function so well with is that BEAM, the underlying Erlang VM that powers everything Elixir, runs on a model called the Actor model. Actors are simply just single-threaded processes that can send and receive messages, either from themselves or from other processes. They end up getting their own isolated memory, which also means that it is safe to let processes run and die independently without worrying about how it's going to start affecting other processes in your system all time. Each ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Phoenix in Action

Phoenix in Action

Geoffrey Lessel
Real-Time Phoenix

Real-Time Phoenix

Stephen Bussey

Publisher Resources

ISBN: 9781787284197Supplemental Content