3 ms·
> Second, concurrency. An individual web request runs in a single PHP thread. Erlang/Elixir (or any BEAM language) runs every request in a separate green threa
by pdimitar 6y ago
> Second, concurrency. An individual web request runs in a single PHP thread.
Erlang/Elixir (or any BEAM language) runs every request in a separate green thread which scales much better than OS threads since most of those green threads can be generously multiplexed on just 4-8 CPU cores due to 90% of the time being spent waiting on a database.
One OS thread per request is such a... strange thing to brag about in 2020.