docs: document owner-relay fanout + peer-interest TTL

README.md: "Full-mesh topology" bullet now spells out single-hop
owner-relay: a non-owner sends to the TG's owner, owner fans out to
every other trunk peer with interest, no daisy-chain relay.

docs/TRUNK_PROTOCOL.md: new "Owner-Relay Fanout" subsection under "TG
Ownership and Routing" with the fanout model, a refA/refB/refC
worked example matching test_32, scaling argument (O(N) TCP sends on
the owner for N reflectors), and the peer-interest caveat. The caveat
paragraph now also states the 10-minute inactivity TTL
(PEER_INTEREST_TIMEOUT_S = 600), refresh-on-each-packet behavior,
and immediate clear on trunk disconnect — so sysops don't have to
hunt for the timeout in the code.
This commit is contained in:
Audric committed 2026-04-20 18:55:44 +02:00
1 parent 60c69b05ff
commit 69c3c2eea3
2 files changed
+70 -4

No files matched your search

+6 -2
View File
@@ -40,8 +40,12 @@ automatically.
multiple prefix groups (e.g. `LOCAL_PREFIX=11,12,13`)
- **Server-to-server trunk links** — persistent TCP connections between pairs of
reflectors carry talker state and audio for shared TGs
- **Full-mesh topology** — any number of reflectors can be trunked together; each
pair has a direct link so no multi-hop routing is needed
- **Full-mesh topology** — any number of reflectors can be trunked together;
every pair has a direct link. Audio distribution uses **single-hop
owner-relay**: a non-owner sends to the TG's owner, and the owner fans the
audio out to every other trunk peer with interest. No daisy-chain relaying,
so conversations on a shared TG work between clients on any two (or more)
reflectors
- **Unlimited concurrent conversations** — the trunk TCP connection multiplexes
all active TGs simultaneously; the only per-TG rule is one talker at a time
- **Independent talker arbitration** — each reflector arbitrates its own clients;