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

Run process 1 and process 2 at the same time

In parallelism, processes 1 and 2 are able to execute at the same time and also operate completely independent of each other. This means that the steps involved in the concurrency example might end up delaying each other in some way (for example, if Task B is ready to begin right as Task A completes and is spitting back output).

We will talk in much greater detail about this, but the model behind Elixir makes it so that parallelism is the default state every time and is handled extremely efficiently. Also, you may notice that the definitions for concurrency and parallelism overlap each other a little bit; something that is concurrent is not necessarily parallel, but something that is parallel is ...

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