Erlang's Telecom Roots: Birth of Reduction Counts
Reduction counts originated from Erlang's development at Ericsson for fault-tolerant telecom systems, where the mechanism was crucial for preventing process starvation and guaranteeing predictable system behavior, a design philosophy now benefiting AI agents.
The top 3
- Ericsson's Urgent Need: Birth of Erlang for Telecom: Erlang was developed at Ericsson's Computer Science Laboratory in 1986 by Joe Armstrong, Robert Virding, and Mike Williams to address the critical demands of telecommunication systems, such as their MD110 and AXD301 switches, requiring high availability (often aiming for "nine 9s") and robust fault tolerance for concurrent operations.
- Erlang's Speed Quest: From Prolog to BEAM VM: Erlang's initial implementation in Prolog by 1988 proved 40 times too slow for Ericsson's production telecom systems. This critical performance gap spurred the development of JAM (Joe's Abstract Machine) in 1989, which achieved a 70x speed improvement, and later the BEAM (Bogdan's Erlang Abstract Machine) in 1993, becoming the robust virtual machine at the core of the Erlang Runtime System (ERTS) for industrial-strength applications.
- Reduction Counts: Erlang's Fair Scheduler Origin: Reduction counts, a unit of work (e.g., a function call), were introduced in Erlang's BEAM scheduler to ensure fair CPU allocation by preempting processes after approximately 2000 reductions, preventing resource monopolization crucial for soft real-time telecom systems.
Sources
Open the full topic