Telecom Roots: Why BEAM Engineered Tiny Processes

The BEAM virtual machine's design, with its emphasis on extremely lightweight and isolated processes, originated from Ericsson's stringent requirements in the 1990s for building highly reliable, fault-tolerant telecommunication systems capable of handling massive concurrent traffic with constrained hardware resources.

The top 3

  1. Telecom's 'Nine Nines' Uptime Mandate: BEAM's tiny processes were engineered for extreme fault tolerance, enabling telecom systems like Ericsson's AXD301 switch to achieve 'nine nines' (99.9999999%) availability, recovering from errors without dropping calls.
  2. Scaling to Millions of Concurrent Calls: Erlang's lightweight processes, requiring only kilobytes of memory compared to megabytes for OS threads, allowed telecom switches to handle millions of simultaneous phone calls with minimal overhead and efficient preemptive scheduling on the BEAM VM.
  3. Hot Code Swapping for Zero Downtime: The necessity for continuous service in telecom drove BEAM's unique 'hot code swapping' capability, allowing live software updates and maintenance without shutting down the system or interrupting ongoing services.

Sources

Open the full topic