Erlang's 'Reduction' Unit: The CPU Budget Explained

A 'reduction' is BEAM's fundamental work unit, roughly one function call, arithmetic operation, or message passing. Processes are preempted after exhausting a budget, typically 2000 reductions, ensuring fair CPU access and preventing starvation.

Sources

Open the full topic