3 ms·
Good points! > where a single Elixir process will be able to use more RAM & all the cores, too. I think you mean a "single instance of the BEAM" here as a sin
by bhelx 10y ago
Good points!
> where a single Elixir process will be able to use more RAM & all the cores, too.
I think you mean a "single instance of the BEAM" here as a single Elixir process is pegged to 1 CPU core.
- akeating 10y agoIt's useful to think of the work of m Elixir processes being distributed to n cpu cores by the BEAM scheduler. An Elixir process is not a system process in the way we usually think of the word process if coming from a non-BEAM world.
- thibaut_barrere 10y agoSorry for the confusion ; by Elixir process I meant a "unix Elixir process" (aka one command you run), not the lightweight Elixir "Process". The unix Elixir process uses multiple CPUs.