0 XP
1d
CH 10 of 8 Completed
5 BEAM Worlds ยท 12 ChaptersOTP 29 Verified
Mastering Erlang/OTP & XMPP Systems
Progressive engineering curriculum modeled after Boot.dev: from functional term anatomy to actor loops, supervision trees, and distributed real-time protocol engines.
BEAM Apprentice0/92 (0%)
5 Thematic Worlds0 XP Earned
World 1In ProgressTrophy: Functional Craftsman
The Functional Core & Term Anatomy
Immutable Terms, Tail-Call Optimization & Binary Wire Protocol Craft
CH1
0/8 PassedFunctional Foundations
Current ChapterL1DemoBeginner
Syncing...
Welcome to Erlang, The BEAM VM & Expression Syntax
15 min
+50 XP
L2ConceptBeginner
Syncing...
Numbers, Booleans & Erlang's Comparison Operators
15 min
+100 XP
L3ConceptBeginner
Syncing...
Variables, Single Assignment & The = Pattern Match Operator
15 min
+100 XP
L4ConceptBeginner
Syncing...
Atoms & Tuples: Modeling Structured Telecom Events
15 min
+100 XP
L5ConceptBeginner
Syncing...
Lists, Cons Cells [H | T] & The Character List Mystery
15 min
+100 XP
L6ConceptBeginner
Syncing...
Modules, Exports, Function Arity & Compile-Time Macros
15 min
+100 XP
L7ConceptBeginner
Syncing...
Multi-Clause Functions & The Punctuation Triad (, ; .)
15 min
+100 XP
L8AssignmentBeginner
Syncing...
Problem Set: Telecom CDR Packet Classifier & Billing Engine
15 min
+250 XP
CH2
0/8 PassedControl Flow, Guards & Tail Recursion
Prerequisite: CH1L1ConceptBeginner
Syncing...
Deep Pattern Matching in Function Heads & Simultaneous Aliasing
15 min
+100 XP
L2ConceptBeginner
Syncing...
Guard Clauses (when), Compound Guards & Silent Guard Failure
15 min
+100 XP
L3ConceptBeginner
Syncing...
Branching Inside Bodies: case...of vs. if...end
15 min
+100 XP
L4ConceptBeginner
Syncing...
Thinking Recursively (Part 1): Base Cases & Searching a List of Tuples
15 min
+100 XP
L5ConceptBeginner
Syncing...
Body Recursion vs. Tail-Call Optimization (TCO) on the BEAM Stack
15 min
+100 XP
L6ConceptBeginner
Syncing...
The List Accumulator Pattern & Why lists:reverse/1 is Mandatory
15 min
+100 XP
L7ConceptIntermediate
Syncing...
Thinking Recursively (Part 2): Updating a Tuple in a List & Dual Accumulators
15 min
+100 XP
L8AssignmentIntermediate
Syncing...
Problem Set: Real-World Inventory Order Processor
15 min
+250 XP
CH3
0/7 PassedHigher-Order Functions
Prerequisite: CH2L1ConceptIntermediate
Syncing...
First-Class Functions: Anonymous fun Closures & fun Mod:Fun/Arity Captures
15 min
+100 XP
L2ConceptIntermediate
Syncing...
Transforming & Filtering Collections (lists:map/2, lists:filter/2, lists:filtermap/2)
15 min
+100 XP
L3ConceptIntermediate
Syncing...
Boolean Predicates & Single-Pass Partitioning (lists:all/2, lists:any/2, lists:partition/2)
15 min
+100 XP
L4ConceptIntermediate
Syncing...
Folding & State Aggregation (lists:foldl/3 vs. lists:foldr/3)
15 min
+100 XP
L5ConceptIntermediate
Syncing...
Keyed Tuple Lists (lists:keyfind/3, keystore/4) & proplists
15 min
+100 XP
L6ConceptIntermediate
Syncing...
List Comprehensions ([Expr || Generator, Filter]), Pattern Filtering & Joins
15 min
+100 XP
L7AssignmentIntermediate
Syncing...
Chapter 3 Problem Set: Refactoring Inventory Analytics & SLA Log Aggregator (inventory_hof.erl)
15 min
+250 XP
CH4
0/8 PassedMaps, Records & Binary Parsing
Prerequisite: CH3L1ConceptIntermediate
Syncing...
Maps (#{}): Association (=>), Exact Matching (:=), and FlatMap vs. HAMT Internals
15 min
+100 XP
L2ConceptIntermediate
Syncing...
The maps Standard Library: get/3, find/2, update_with/4, merge/2 & fold/3
15 min
+100 XP
L3ConceptIntermediate
Syncing...
Records (-record): Compile-Time Tuple Sugar, #rec.field Indices & Header Files
15 min
+100 XP
L4ConceptIntermediate
Syncing...
Binaries (<<...>>) vs. Character Lists, UTF-8 & Zero-Copy IOLists
15 min
+100 XP
L5ConceptIntermediate
Syncing...
Erlang Bit Syntax (<<Val:Size/TypeSpecifiers>>): Bit-Level Protocol Packing & Endianness
15 min
+100 XP
L6ConceptIntermediate
Syncing...
Binary Scanning (binary:split/2,3, binary:match/2) & Binary Comprehensions
15 min
+100 XP
L7ConceptAdvanced
Syncing...
Under the Hood: Off-Heap ProcBin Refc Binaries & Avoiding Sub-Binary Leaks (binary:copy/1)
15 min
+100 XP
L8AssignmentAdvanced
Syncing...
Chapter 4 Problem Set: Binary Network Packet & Multi-Frame TLV Stream Parser (packet_parser.erl)
15 min
+250 XP
World 2Trophy: Concurrency Artisan
The Actor Model & "Let It Crash"
Isolated Processes, Asynchronous Message Passing, Links & Monitors
CH5
0/8 PassedConcurrency & Actor Model
Prerequisite: CH4L1DemoIntermediate
Syncing...
Lightweight BEAM Processes (~2.5 KB), Preemptive Reductions & Process Introspection BIFs
15 min
+50 XP
L2ConceptIntermediate
Syncing...
Spawning (spawn/1 vs. spawn/3), PIDs (self/0) & Asynchronous Message Passing (!)
15 min
+100 XP
L3ConceptIntermediate
Syncing...
Selective receive ... after: The Mailbox Save Queue, Timeouts & after 0 Non-Blocking Flush
15 min
+100 XP
L4ConceptIntermediate
Syncing...
The Client-Server Abstraction Barrier & Tail-Recursive Actor State Loops
15 min
+100 XP
L5ConceptAdvanced
Syncing...
Process Registry (register/2, whereis/1), Dead-PID vs. Unregistered-Atom Semantics & make_ref() Correlation
15 min
+100 XP
L6ConceptAdvanced
Syncing...
Finite State Machine (FSM) Actors via Mutual Tail Recursion
15 min
+100 XP
L7IncidentProduction
Syncing...
Production Incident #101: Unbounded Mailbox Memory Leak in Telemetry Actor
15 min
+175 XP
L8AssignmentProduction
Syncing...
Chapter 5 Problem Set: Concurrent Bank Ledger & Order Actor (ledger_actor.erl)
15 min
+250 XP
CH6
0/10 PassedLinks, Monitors & my_gen_server
Prerequisite: CH5L1ConceptIntermediate
Syncing...
Sequential Exceptions: throw, error, exit & Pattern Matching try...catch
15 min
+100 XP
L2ConceptIntermediate
Syncing...
Safe Operations & Return Values ({ok, Val} | {error, Reason}) vs. Exceptions
15 min
+100 XP
L3ConceptIntermediate
Syncing...
Guaranteed Resource Cleanup with try ... of ... catch ... after & Boundary Deserialization
15 min
+100 XP
L4ConceptIntermediate
Syncing...
Bidirectional Process Links (link/1, spawn_link/1) & Normal vs. Abnormal Exit Signals
15 min
+100 XP
L5ConceptAdvanced
Syncing...
Trapping Exits (process_flag(trap_exit, true)), The Exit Signal Truth Table & Untrappable kill
15 min
+100 XP
L6ConceptIntermediate
Syncing...
Unidirectional Monitors (erlang:monitor/2, spawn_monitor/1), 'DOWN' Messages & The noproc Invariant
15 min
+100 XP
L7ConceptIntermediate
Syncing...
Race Conditions & Mailbox Hygiene: Why demonitor(Ref, [flush]) is Mandatory
15 min
+100 XP
L8ConceptAdvanced
Syncing...
Architectural Decision Lab (Links vs. Monitors) & Building my_gen_server:call/3
15 min
+100 XP
L9IncidentProduction
Syncing...
Production Incident #102: Hanging Client Calls When Worker Crashes Mid-Request
15 min
+175 XP
L10AssignmentProduction
Syncing...
Chapter 6 Mini-Capstone: The Resilient Payment Gateway, Watcher & Idempotent Store (payment_system.erl)
15 min
+250 XP
World 3Trophy: OTP Systems Architect
Production OTP Architecture
gen_server, Supervision Trees & Shared ETS Tables
CH7
0/8 PassedOTP gen_server & gen_statem
Prerequisite: CH6L1DemoIntermediate
Syncing...
From my_gen_server to OTP gen_server & Live sys:get_state/1 Introspection
15 min
+50 XP
L2ConceptIntermediate
Syncing...
gen_server Essentials: start_link, Synchronous call & Async cast
15 min
+100 XP
L3ConceptIntermediate
Syncing...
Non-Blocking Init with {continue, Term}, handle_continue/2 & Periodic handle_info/2 Timers
15 min
+100 XP
L4ConceptIntermediate
Syncing...
Async Worker Offloading with gen_server:reply/2 & Process Hibernation
15 min
+100 XP
L5ConceptProduction
Syncing...
gen_statem: Protocol & Circuit Breaker State Machines
15 min
+100 XP
L6ConceptIntermediate
Syncing...
gen_event: Decoupled Event Buses & Security Audit Loggers
15 min
+100 XP
L7IncidentProduction
Syncing...
Incident #103: Slow gen_server:init/1 Blocking Supervisor Startup
15 min
+175 XP
L8AssignmentProduction
Syncing...
Chapter 7 Problem Set: API Gateway Token-Bucket Rate Limiter (rate_limiter_srv.erl)
15 min
+250 XP
CH8
0/7 PassedSupervision Trees & OTP Releases
Prerequisite: CH7L1ConceptIntermediate
Syncing...
Supervisor Flags & Restart Strategies: one_for_one, rest_for_one, and one_for_all
15 min
+100 XP
L2ConceptIntermediate
Syncing...
Child Specifications, Restart Types (permanent/transient/temporary) & Shutdown Semantics
15 min
+100 XP
L3ConceptAdvanced
Syncing...
Restart Intensity Blizzards (intensity/period) & Upward Crash Escalation
15 min
+100 XP
L4ConceptIntermediate
Syncing...
Dynamic Worker Supervision (simple_one_for_one & supervisor:start_child)
15 min
+100 XP
L5ConceptIntermediate
Syncing...
OTP Applications: .app.src, -behaviour(application) & Runtime Configuration
15 min
+100 XP
L6IncidentAdvanced
Syncing...
Incident #104: Misconfigured Supervision Strategy Leaving Stale Downstream Workers
15 min
+175 XP
L7AssignmentAdvanced
Syncing...
Chapter 8 Problem Set: Fault-Isolated E-Commerce Checkout Supervision Tree
15 min
+250 XP
CH9
0/8 PassedETS, Mnesia & Distributed State
Prerequisite: CH8L1ConceptIntermediate
Syncing...
ETS Fundamentals: Table Types (set, ordered_set, bag), keypos & Atomic Counters
15 min
+100 XP
L2ConceptIntermediate
Syncing...
ETS Pattern Matching, Match Specs (select, select_delete) & protected Reads
15 min
+100 XP
L3ConceptAdvanced
Syncing...
Surviving Worker Crashes: The ETS Heir Handshake & ets:give_away/3
15 min
+100 XP
L4ConceptIntermediate
Syncing...
Distributed Erlang Core: Nodes, Magic Cookies, rpc:call & pg Groups
15 min
+100 XP
L5ConceptIntermediate
Syncing...
Mnesia Distributed DBMS: Tables, ACID Transactions & Rollback
15 min
+100 XP
L6ConceptIntermediate
Syncing...
Production QA: EUnit Test Generators (?_assertEqual) & Dialyzer Specs
15 min
+100 XP
L7IncidentProduction
Syncing...
Incident #105: ETS Session Wipeout When Cache Worker Crashes
15 min
+175 XP
L8AssignmentAdvanced
Syncing...
Chapter 9 Problem Set: Fault-Tolerant ETS Session Store with Heir Failover
15 min
+250 XP
World 4Trophy: Network Systems Engineer
Raw TCP & Protocol Engineering
Non-Blocking Sockets, Acceptor Pools & Live XMPP Wire Framing
CH10
0/7 PassedRaw TCP Backends & Acceptor Pools
Prerequisite: CH9L1DemoIntermediate
Syncing...
Guided Demo: Inside gen_tcp:listen/2, accept/1, connect/3 & Live TCP Socket Telemetry
15 min
+50 XP
L2ConceptIntermediate
Syncing...
Socket Options (nodelay, reuseaddr), Built-In C Framing ({packet, 4 | line}) & Clean Disconnects
15 min
+100 XP
L3ConceptIntermediate
Syncing...
TCP Flow Control: {active, false} vs. {active, true} vs. {active, once} Backpressure
15 min
+100 XP
L4ConceptAdvanced
Syncing...
Custom Stream Framing: Reconstructing Fragmented & Coalesced Raw TCP Byte Streams
15 min
+100 XP
L5ConceptAdvanced
Syncing...
Building a Ranch-Style Concurrent Acceptor Pool & gen_tcp:controlling_process/2 Handoff
15 min
+100 XP
L6IncidentProduction
Syncing...
Incident #106: Slowloris & {active, true} TCP Mailbox OOM Crash
15 min
+175 XP
L7AssignmentAdvanced
Syncing...
Chapter 10 Mini-Capstone: High-Throughput TCP Key-Value Backend Server
15 min
+250 XP
CH11
0/8 PassedGuided XMPP Protocol Deep Dive
Prerequisite: CH10L1DemoIntermediate
Syncing...
Guided Demo: Observing a Live XMPP Wire Protocol Session Transcript
15 min
+50 XP
L2ConceptIntermediate
Syncing...
XMPP Addressing (RFC 7622): Parsing, Validating & Normalizing JIDs
15 min
+100 XP
L3ConceptIntermediate
Syncing...
XMPP Stanza Anatomy (RFC 6120): Parsing & Constructing Stanzas
15 min
+100 XP
L4ConceptIntermediate
Syncing...
RFC 6120 Stanza & Stream Errors and RFC 6121 Roster Subscriptions
15 min
+100 XP
L5ConceptAdvanced
Syncing...
Incremental XML Stream Framing Over Fragmented TCP Sockets
15 min
+100 XP
L6ConceptAdvanced
Syncing...
The C2S Connection Handshake State Machine (RFC 6120)
15 min
+100 XP
L7IncidentAdvanced
Syncing...
Incident #107: Pre-Auth Stanza Injection & XML Entity Attacks
15 min
+175 XP
L8AssignmentAdvanced
Syncing...
Chapter 11 Mini-Capstone: Multi-Device Presence Priority & Routing Engine
15 min
+250 XP
World 5Trophy: BEAM Grandmaster
The Distributed XMPP Capstone Engine
Production Real-Time Chat Server Built from Scratch
CH12
0/5 PassedFinal XMPP Server Capstone
Prerequisite: CH11L1DemoAdvanced
Syncing...
Milestone 1: XML Stream Parser
30 min
+200 XP
L2AssignmentAdvanced
Syncing...
Milestone 2: C2S gen_statem State Machine
45 min
+250 XP
L3AssignmentAdvanced
Syncing...
Milestone 3: Session ETS Registry
35 min
+200 XP
L4AssignmentProduction
Syncing...
Milestone 4: Presence & Message Router
40 min
+250 XP
L5AssignmentProduction
Syncing...
Milestone 5: Supervision Tree & System Release
50 min
+300 XP