Route CultNet schema messages through database bridge
This commit is contained in:
parent
b3d9a811e0
commit
6065bb9ad5
7 changed files with 469 additions and 4 deletions
|
|
@ -57,6 +57,8 @@ Modern schema-v0 helpers live in:
|
|||
- `CultNetSchemaMessageSerialization`
|
||||
- `CultNetSchemaRegistry`
|
||||
- `CultNetDocumentRegistry`
|
||||
- `CultNetDatabase`
|
||||
- `CultNetDatabaseServer`
|
||||
- `NetPeerExtensions.SendCultNet(...)`
|
||||
|
||||
## Main Types
|
||||
|
|
@ -127,6 +129,11 @@ CultNet becomes the distribution model:
|
|||
- remote subscription fanout
|
||||
- reconnect resynchronization
|
||||
|
||||
The current first slice exposes this as `CultNetDatabase` and wires hosted
|
||||
servers through `CultNetDatabaseServer`. It handles primary-shard writes, typed
|
||||
R3 watch streams, raw document puts/deletes, and raw snapshot responses. Remote
|
||||
subscription messages and shard catalog exchange are the next missing organs.
|
||||
|
||||
The first coherent shard policy is primary ownership. Each shard has one
|
||||
authoritative writer at a time. Clients may connect to any node; a non-owner
|
||||
node forwards a write to the owner or rejects it honestly when forwarding is
|
||||
|
|
|
|||
Loading…
Reference in a new issue