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

  1. gen_statem state machines

    Lesson 1 · On the house

    gen_statem state machines

    Model protocols as explicit states with gen_statem, state_functions, and state timeouts.

  2. Hot code loading

    Lesson 2

    Hot code loading

    Two code versions, fully qualified calls, code:load_binary, and soft_purge.

  3. ETS match specifications

    Lesson 3

    ETS match specifications

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

  4. Binary memory and performance

    Lesson 4

    Binary memory and performance

    Heap vs refc binaries, sub-binaries, binary:copy, and building output with iolists.

  5. persistent_term, atomics, and counters

    Lesson 5

    persistent_term, atomics, and counters

    Global read-mostly config and lock-free shared integers without processes or ETS.

  6. Tracing live systems

    Lesson 6

    Tracing live systems

    erlang:trace and trace patterns to observe calls in production without restarting.

  7. Testing with EUnit

    Lesson 7

    Testing with EUnit

    Test functions, assertion macros, generators, and fixtures with setup and cleanup.

  8. Ports: talking to external programs

    Lesson 8

    Ports: talking to external programs

    open_port, spawn_executable, exit_status, line mode, and when to use NIFs instead.

  9. Overload and backpressure

    Lesson 9

    Overload and backpressure

    Mailbox growth, message_queue_len, call-based flow control, and load shedding.

  10. Distributed Erlang

    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.

All lessons