Erlang course

Erlang Level 17: Erlang Mastery

Erlang Mastery is level 17 of 17 of the LoWisa Erlang course. It has 3 lessons and 9 ideas. Below is every lesson and what it teaches, in one line each.

Updated 2026-11-25

Advanced OTP Architecture

  • Custom behaviours. Teams write their own behaviours: generic halves for their domain’s repeated patterns.
  • gen_statem. gen_statem models state machines as first-class OTP: protocols and sessions as declared states.
  • Dynamic supervision. simple_one_for_one supervision spawns children dynamically: a process per session, supervised.

Distributed Failure Engineering

  • Consistency choices. Distributed state chooses: consensus, CRDTs or single writers: each a named trade-off.
  • Split-brain drills. Mature teams drill netsplits: partition the cluster on purpose and verify the promised behaviour.
  • Global bottlenecks. Cluster-wide locks and global names serialise: mastery designs them out of hot paths.

Reading and Improving Complex Erlang

  • Reading strategy. Read an Erlang system by its supervision tree: the failure domains are the architecture.
  • Improving live systems. Improve with tracing evidence: observe the live node, change one thing, observe again.
  • Explaining decisions. Mastery is explaining the design: this tree, this kernel, this partition answer: trade-offs named.

Before and after this level

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 17: Erlang Mastery cover?

Advanced OTP Architecture, Distributed Failure Engineering, Reading and Improving Complex Erlang: 3 lessons and 9 ideas.

What should I know before this level?

The level before it, Level 16: Releases & Operations, which covers Releases, Runtime Upgrades, Operating Long-Lived Systems.

Learn Erlang on your phone

The first level is free. LoWisa is on Google Play and the App Store.