Signaling Server
The small coordination service peers use to find each other before connecting directly.
A signalling server relays the messages two peers need to exchange in order to establish a direct connection: session descriptions and candidate network paths. Once the connection exists, it carries no further traffic.
It is the irreducible centre of an otherwise decentralised design. Peers cannot discover each other from nothing, so something must introduce them — and that something is a server, however small. Recognising this early prevents a lot of disappointment about how serverless a peer-to-peer architecture really is.
Its saving grace is that it is genuinely small. It holds no application state, stores nothing durable, and handles a message or two per connection. It can be a few dozen lines, it scales trivially, and it can be run on the cheapest infrastructure available.
Two design consequences follow. Room identity is signalling's concern: peers find each other by agreeing on a name, which is why URL-slug lobbies are the natural pattern — the address is the coordination, with no accounts required. And signalling availability is application availability: if the server is unreachable, nobody connects, so surfacing that state honestly is part of the design rather than an edge case.
See also3
Hand-picked in the note itself — the neighbours worth reading next.
WebRTC
The browser standard for direct peer connections carrying audio, video, and arbitrary data.
Networks & Distribution5 connections
Peer-to-Peer
An architecture where participants communicate directly rather than through a central server.
Networks & Distribution5 connections
Conflict-Free Replicated Data Type
A data structure whose replicas can be edited independently and always converge without coordination.
Networks & Distribution5 connections
Related2
Nearby in the graph rather than deliberately chosen. Looser, sometimes surprising.
Linked from5
Notes elsewhere in the wiki that reach for this one.
- Conflict-Free Replicated Data TypeNetworks & Distribution
A data structure whose replicas can be edited independently and always converge without coordination.
- Eventual ConsistencyNetworks & Distribution
A guarantee that replicas converge given no further updates, without guaranteeing when.
- IdempotenceSystems & Tooling
The property that performing an operation twice has the same effect as performing it once.
- Peer-to-PeerNetworks & Distribution
An architecture where participants communicate directly rather than through a central server.
- WebRTCNetworks & Distribution
The browser standard for direct peer connections carrying audio, video, and arbitrary data.