Advanced OTP
- gen_statem and stages. Beyond GenServer sit :gen_statem and GenStage: state machines and demand-driven pipelines.
- Dynamic supervision. DynamicSupervisor starts children on demand: process-per-entity systems, supervised.
- Custom behaviours. Teams define their own behaviours: domain contracts checked by the compiler.
Functional Distributed Architecture
- Boundaries and contexts. Healthy Elixir splits into contexts: modules with narrow public APIs, storage behind them.
- Data flow architecture. Systems design as pipelines of immutable data between supervised stages.
- When Elixir fits. Elixir buys concurrency, resilience and productivity; raw CPU crunching goes elsewhere: trade-offs named.
Reading and Improving Complex Elixir
- Reading strategy. Read an Elixir system by its supervision tree and contexts: structure first, functions second.
- Refactoring under ExUnit. Refactor under a green suite: behaviour pinned, pipelines clarified, processes reshaped.
- Explaining decisions. Mastery is explaining the design: this tree, these contexts, this macro budget: trade-offs named.
Before and after this level
- Before: Level 15: Releases & Production: Releases, Configuration and Observability, Operating Elixir Systems.
- Next: this is the last level. The course ends with its projects; see the course outline.
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 Elixir Level 16: Elixir Mastery cover?
Advanced OTP, Functional Distributed Architecture, Reading and Improving Complex Elixir: 3 lessons and 9 ideas.
What should I know before this level?
The level before it, Level 15: Releases & Production, which covers Releases, Configuration and Observability, Operating Elixir Systems.