Nodes
- Nodes. A node is a named BEAM instance: connected nodes form a cluster speaking Erlang natively.
- Connecting nodes. Nodes connect by name and cookie: net_adm:ping/1 turning machines into one system.
- Location transparency. A pid works across nodes: sending is location-transparent, the code unchanged.
Distributed Messaging
- Remote spawn. Processes spawn on other nodes: work placed where capacity lives.
- Global registration. The global module registers names cluster-wide: one coordinator findable from anywhere.
- RPC honestly. rpc calls run functions on remote nodes: convenient, and a coupling to use deliberately.
Clustering and Network Failure
- Netsplits. Networks partition: a netsplit makes two half-clusters that both believe they are right.
- Node monitors. Nodes monitor each other: nodedown messages turning topology changes into handled events.
- Partition strategy. Every distributed design states its partition answer: pause, degrade, or reconcile later: chosen up front.
Before and after this level
- Before: Level 9: State & Storage: ETS, DETS and Mnesia Concepts, Concurrent State Design.
- Next: Level 11: Reliability Patterns: Timeouts and Backpressure, Partial Failure, Designing Self-Healing Systems.
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 10: Distributed Erlang cover?
Nodes, Distributed Messaging, Clustering and Network Failure: 3 lessons and 9 ideas.
What should I know before this level?
The level before it, Level 9: State & Storage, which covers ETS, DETS and Mnesia Concepts, Concurrent State Design.