Hot Code Swapping & Live Upgrades
Learn how Erlang upgrades running code without stopping the system, and how OTP behaviors support stateful live upgrades.
Zero-Downtime Upgrades
One of Erlang's signature features is hot code swapping: replacing a module's code while the system keeps running, with no restart and no dropped connections.
Two Code Versions
The VM keeps up to two versions of each module: current and old. Loading a third version purges the oldest.
All lessons in this course
- GenStatem for State Management
- GenEvent for Event Handling
- Custom OTP Behaviors
- Hot Code Swapping & Live Upgrades