Skip to main content

Architecture

The V1 architecture is organized around a durable source order and an explicit authority split:

One Delay Shard​

V1 fixes the following identity:

one Ingress Route partition
= one Shard Log source order
= one Delay Shard application and ownership unit
= one RocksDB database
= one checkpoint / restore / local migration unit

The Shard Runtime is the single-writer boundary for the local state machine. It atomically applies Commands and authenticated System Mutations to RocksDB before advancing the source cursor.

Authority boundaries​

ComponentOwnsDoes not own
Command Topic / Shard LogDurable source order and replay inputMaterialized message state
Delay Shard / RocksDBApplied commands, message state, indexes, receipts, and runtime projectionsCross-shard transactions
SchedulerEligibility, fairness, Claim, and Publish AdmissionSending around the state machine
Destination AdapterTarget identity, capability evidence, and publish outcome classificationRewriting payload or binding
OxiaConfiguration, placement, Owner Lease, and checkpoint catalog CASLarge payload bytes
Object StoreImmutable payloads and checkpoint objectsWhich checkpoint is authoritative

Readiness is layered​

Ownership and command readiness are not the same as destination Lane readiness. A restored shard must verify its source assignment, replay through its activation barrier, and hold a valid Owner Lease before applying Commands. Each Destination Lane separately verifies its capability and evidence boundary before the scheduler may admit work.