Skip to main content
Source baselineNereus Delaycommit 9281890f4277·verified 2026-08-07·authority reader-facing-summary

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.

Source anchors

  • docs/Nereus Delay V1 设计.md, sections 1, 4, 9, 10, 12, and 16.
  • docs/adr/0004-use-one-rocksdb-database-per-delay-shard.md.
  • docs/adr/0017-require-source-assignment-and-an-oxia-owner-lease.md.