Erlang's Reduction-Based Preemption: The OS Bypass

Erlang's user-space scheduler achieves preemptive multitasking not by OS time slices, but by 'reductions'—a unit of work like a function call or arithmetic operation. A process is preempted after executing a set number of reductions (e.g., 1000), ensuring fairness and preventing any single process from monopolizing the CPU without kernel intervention.

Sources

Open the full topic