Book Image

Elixir Cookbook

By : Paulo Pereira
Book Image

Elixir Cookbook

By: Paulo Pereira

Overview of this book

Table of Contents (16 chapters)
Elixir Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


In this chapter, our recipes will make use of nodes and processes. We will see how message passing takes a key role in making it possible to distribute our applications and how seamlessly we can interchange information between running processes in the same virtual machine or between processes in different virtual machines that may even be running on different physical machines. We will focus on the concepts of maintaining the state in a process or sharing it between processes with ETS tables. We will also focus on how to perform asynchronous computations using the Tasks module.