Process Overhead
Learn about the process and its creation in Elixir.
We'll cover the following
At the start of the chapter, we said that Elixir processes were very low overhead. Now, it’s time to back that up. Let’s write some code that creates n processes. The first will send a number to the second. It’ll increment that number and pass it to the third. This’ll continue until we get to the last process, which will pass the number back to the top level.
Run the example code in the terminal below.
Get hands-on with 1400+ tech skills courses.