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

The model - what is a process?

A process is how Elixir is able to do so much all at the same time with no ill effects. As mentioned previously, processes are independent threads of work that BEAM manages. They're small, efficient, and memory-isolated. In fact, they're so small and efficient that even on relatively low-powered machines, you can safely run millions of processes all at the same time. They do not require copies of the entire language and ecosystem behind them for each one you spawn, so they end up being a currency that you can spend freely instead of having to ration them out and make trade-offs to implement and use them!

Erlang processes and Unix processes are different concepts. A Unix process is much more like a running program ...
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