Erlang's Dual Module Coexistence for Zero Downtime

Erlang's BEAM virtual machine uniquely permits two versions of a module—'current' and 'old'—to reside in memory and execute concurrently. New processes or external function calls transition to the 'current' code, while existing processes complete their execution with the 'old' version, ensuring updates without system interruption.

Sources

Open the full topic