Tutorials
View SourceEnd-to-end walkthroughs. Each tutorial builds something real; you should be able to follow it from a clean checkout and end up with a running example.
In this section
- Hello, cluster — the minimal two-node walkthrough. If you have not done Getting started yet, do that first; this tutorial assumes a working cluster.
- Create an application — build a
minimal OTP app from scratch: a worker that registers a service
and an API that discovers and calls it on any node. Runnable
source under
examples/quickstart. - Distributed chat — a small chat
application that uses the service registry, service events,
and
gen_serverpatterns over the barrel_p2p dist channel. The full source is underexamples/chat.
After the tutorials
- Concepts explains why each piece works the way it does.
- How-to guides cover the operational side: production, observability, troubleshooting.
- Reference is the API surface and the configuration list.