Lessons
Erlang · Expert
Erlang · Expert. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
gen_statem state machines
Model protocols as explicit states with gen_statem, state_functions, and state timeouts.

Lesson 2
Hot code loading
Two code versions, fully qualified calls, code:load_binary, and soft_purge.

Lesson 3
ETS match specifications
Query ETS with select, match specs, ets:fun2ms, and select_delete.

Lesson 4
Binary memory and performance
Heap vs refc binaries, sub-binaries, binary:copy, and building output with iolists.

Lesson 5
persistent_term, atomics, and counters
Global read-mostly config and lock-free shared integers without processes or ETS.

Lesson 6
Tracing live systems
erlang:trace and trace patterns to observe calls in production without restarting.

Lesson 7
Testing with EUnit
Test functions, assertion macros, generators, and fixtures with setup and cleanup.

Lesson 8
Ports: talking to external programs
open_port, spawn_executable, exit_status, line mode, and when to use NIFs instead.

Lesson 9
Overload and backpressure
Mailbox growth, message_queue_len, call-based flow control, and load shedding.

Lesson 10
Distributed Erlang
Named nodes, cookies, net_adm:ping, remote spawn, and global process groups.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.