Erlang Processes: Default Max Concurrency Record
The BEAM VM is configured by default to handle 1,048,576 simultaneously alive Erlang processes on a single node, a limit that can be further adjusted upwards at startup.
The top 3
- Erlang's Default Max Concurrency: Over 1 Million Processes: The Erlang BEAM virtual machine is configured by default to support 1,048,576 simultaneously active processes, a limit that can be adjusted at startup using the `+P` command-line flag.
- Erlang Processes: 500x Lighter Than JVM Threads: Erlang processes are exceptionally lightweight, typically starting with a memory footprint of only ~2-3 KB per process, making them 500 to 1,000 times more memory-efficient than JVM threads, which often consume 1-2 MB each.
- Erlang's Configurable Limit: Up to 268 Million Processes: Beyond its high default, the Erlang VM allows the maximum number of simultaneously alive processes to be configured up to an astounding 268,435,456 (2^28) processes, demonstrating its extreme potential for massive concurrency.
Sources
Open the full topic