BEAM Processes: Kilobytes vs. OS Thread Megabytes

Erlang/BEAM processes are exceptionally lightweight, typically starting at 2-3 KB of memory, enabling millions to run concurrently on a single machine, contrasting with OS threads often requiring 1-2 MB of stack space.

Sources

Open the full topic