The home is the gateway: it composes the view and sets the limits
One connection, as today. Everything from other servers passes the home's spatial index, budgets, trust levels and filters before a client sees it. NEW the peer tasks and the limits; the index is stage 1's.
the app one connection
another app same server
cartopolis.org
the tick, untouched by peers
reads the spatial index: home avatars and things, peer avatars and things with server and age
assembles one frame per connection from what is within its person's reach, minus hidden layers
never waits on a peer; a peer's lag is an age on its entries, not a late tick
a task per peer stream
bounded queue, drop oldest
writes into the index under short locks
asks Rate { lower } when behind
drops the peer past 5 s of lag, 10 min
keeps peer_things current
forwards Say, Touch, Block, Gone
the client never sees a peer's address,
a peer never sees a client's
limits per peer (Admin › Network)
shares: people · things · chat · voice
trust: full · things only · people only · none
things within one reach: 200
thing updates a second: 50
model bytes on disk: 2 GB
media URLs: full trust only
models: hash-checked, upload limits, licence gate
nearby lines: the home's word filter, both servers' blocks
a layer can be hidden per person,
dropped per server, ended per peering
rug.example peered · people, things, chat · full trust
buurt.example peered · things only · slow: faded
school.example closed · not in view