-
Notifications
You must be signed in to change notification settings - Fork 0
Distributed Systems Model
Kurt edited this page Jul 9, 2026
·
9 revisions
Audience: Engine Developer Status: ✍️ Draft
The consistency and scaling philosophy that ties the engine together: single-writer per zone, dynamic placement, leases and fencing, and the exactly-once substrate. This page states the invariants the rest of the distributed design depends on.
- The core invariant: single-writer per zone — no in-zone locks, deterministic order, the unit of consistency
- Placement model: world servers claim zones via leases; director-coordinated; no static declaration
- Consistency model: what's strongly consistent (a zone's state) vs. eventually consistent (cross-scope views); where Postgres is authority
- Fencing and exactly-once:
state_version/DurableEvent.Seqwatermarks, lease fence tokens, idempotency - Failure model: shard loss, director loss, dependency (PG/Redis/NATS) partition; fail-closed defaults (pack-set divergence, keyless boot)
- Scaling axes and observed capacity; how handoff enables zero-drop scale in/out
- Mermaid: a state diagram of zone ownership (unclaimed→claimed→draining→handed-off)
- Cross-links: Zone Runtime & Actor Model, Cross-Shard Handoff, Orchestration & Directors, Running at Scale
Scaffold page — full content pending the wiki build-out.
TelosMUD — Wiki under construction.
- Builder Reference
- Builder Commands
- Trust Tier Model
- Pack Authoring
- Pack MUD Settings
- Pack Lua Scripting
- Pack Lua Hooks
- Pack Entity Reference
- Building Instanced Zones
- Engine Developer Reference
- Architecture Overview
- Entity Component Model
- Zone Runtime & Actor Model
- Instanced Zones
- Command Parser & Targeting
- Edge & Protocol
- GMCP Reference
- Persistence & Durability
- Content Loading & Hot Reload
- Abilities & Effects
- Combat System
- Loot, Spawns & Crafting
- Accounts & Auth Internals
- Orchestration & Directors
- Scoped Event Bus
- Cross-Shard Handoff
- Lua Sandbox Internals
- Distributed Systems Model
- RPC & Protobuf