Releases
- Release assembly. A release packs applications, config and the runtime: one artifact, one deploy.
- relx. Release tooling assembles boot scripts and tarballs: reproducible node images.
- Configuration per environment. Releases separate build from config: the same artifact, environment-specific settings.
Runtime Upgrades
- Hot upgrades. BEAM upgrades code on a running node: appups and relups migrating state live.
- code_change. The code_change callback transforms server state between versions: upgrades as functions.
- When to restart instead. Hot upgrades are surgery: most teams ship rolling restarts and keep hot upgrade for the irreplaceable.
Operating Long-Lived Systems
- Heart and watchdogs. heart restarts a dead node: the supervisor above the supervisors.
- Telemetry. Nodes export metrics: process counts, mailbox depths, memory: dashboards over vital signs.
- Runbooks. Operations write runbooks: the 3am reader follows tested steps, not tribal memory.
Before and after this level
- Before: Level 15: BEAM Performance: Scheduler Behaviour, Process and Memory Performance, Profiling Large Erlang Systems.
- Next: Level 17: Erlang Mastery: Advanced OTP Architecture, Distributed Failure Engineering, Reading and Improving Complex Erlang.
In the app each of these ideas is taught and then asked back, and the level ends with a checkpoint and flashcards. See Checkpoints and flashcards.
Frequently asked questions
What does Erlang Level 16: Releases & Operations cover?
Releases, Runtime Upgrades, Operating Long-Lived Systems: 3 lessons and 9 ideas.
What should I know before this level?
The level before it, Level 15: BEAM Performance, which covers Scheduler Behaviour, Process and Memory Performance, Profiling Large Erlang Systems.