Expand description
Peer library: remote connection to a transactor, tx-report handling,
local database values, sync, and the segment cache
(see docs/architecture.md and docs/design/protocol.md).
A Connection subscribes to the transactor’s tx-report stream and
folds every report into an immutable Db value locally; queries never
block on the transactor. On disconnect it reconnects and resubscribes
from its basis, and the server backfills the gap from the durable log.
Modules§
- metrics
- Peer-server Prometheus metrics.
- segment
- Direct blob-store segment access for peers.
- server
- Peer server: hosts a peer for thin clients over the public
PeerServerServicegRPC surface (seedocs/design/protocol.md).
Structs§
- Admin
- Catalog (admin) client for a transactor endpoint.
- Connect
Config - Connection configuration.
- Connection
- A live peer connection to a transactor-hosted database.
- Peer
Report - One transaction applied to the peer’s local database value.
- TxResult
- Result of a transaction submitted through a peer.
Enums§
- Peer
Error - Peer failure.