The pid of a process is very important for parallelism in elixir. Make a default catch all pid. #Explore.
One of the big sellings about elixir the erlang virtual machine which uses very lightweight processes and dynamic process size allocation. However, the common programs that I write often are within the self() process.
My goal with this project is to move to multi-process by default when I program in elixir.
My goal with this project is to add more recieve commands in the self() process and have spawned processes that perform work in an async manner.
- Spinning new processes in Elixir is easy
- Realize your always on a process called self()
- There are processes that came before the self() process which I often do not care about.
- You can spawn new processes from the self process.
- You can spawn a process that spawns another process.
- mix task defines a bunch of recieve conditions to match communication for other processes
- spawn processes to do a bunch of work. maybe counting to 5 million.
- count so high the process fails and sends the last good state back to the self() process.
https://stackoverflow.com/questions/28093580/how-to-get-minimum-and-maximum-value-of-each-type-in-elixir