A Gathered Edition book
Production Elixir — Starter
by Allan MacGregor
Three chapters on keeping Elixir healthy in production.
- Chapters 3
- Reading ≈ 49 min
- Skill
- Level Intermediate → Advanced
- Formats PDF · EPUB
- Updated Jul 2026
What you'll learn
- —Instrument an Elixir app so production tells you what it's doing.
- —Ship a new version without dropping a single request.
- —Package and configure an Elixir release for production.
Before you start
Elixir 1.15+ · Phoenix 1.7+ · PostgreSQL
Inside the book
Tap a chapter to add it →-
01
Observability with Telemetry
$5.00intermediate · 16 min read
You'll be able to · Instrument an Elixir app so production tells you what it's doing.
You can't fix what you can't see. :telemetry turns your app's behaviour into a stream of events you can measure.
Read sample + add -
02
Zero-Downtime Deploys with Kamal
$5.00intermediate · 18 min read
You'll be able to · Ship a new version without dropping a single request.
A deploy shouldn't be a held breath. With health checks and overlap, the old version serves until the new one is ready.
Read sample + add -
03
Releases & Runtime Config
$5.00advanced · 15 min read
You'll be able to · Package and configure an Elixir release for production.
A release is a self-contained artifact — your app, the BEAM, and nothing else. Config it reads at boot, not at build.
Read sample + add
About the author
Allan MacGregor
Allan MacGregor is a hands-on engineering leader and CTO with a decade of experience across eCommerce, FinTech, and HRTech. He's the author of the Magento PHP Developer's Guide and writes prolifically about Elixir, OTP, and building reliable systems on the BEAM.