Architecture
ByteOr is a four-layer stack where each layer has a clear contract with the layers around it. This page explains how the layers compose and where the boundaries sit.
Stack Overview
IndexBus — Transport Substrate
IndexBus is the bounded shared-memory transport layer. It provides:
- Deterministic lane semantics — Events, Journal, SequencedSlots, and FanoutBroadcast lane kinds with well-defined capacity and backpressure behavior.
- Zero-copy IPC — Processes communicate through shared-memory regions with
repr(C)layouts and no serialization overhead. - Router and merge infrastructure — Fanout and fan-in patterns with bounded memory and deterministic ordering guarantees.
IndexBus is a standalone open-source project. It can be used independently of ByteOr for any application that needs bounded, deterministic inter-process communication.
ByteOr OSS — Spec and Execution
ByteOr OSS defines the pipeline model:
- Spec format — Pipelines are defined in a structured KV format that is deterministic, canonicalizable, and diff-friendly.
- Validation — Specs are validated against structural and semantic rules before compilation.
- Compilation — Validated specs are lowered through a compiler-backed path into canonical execution plans.
- Execution — The kernel executes plans using IndexBus as the transport substrate, with backing implementations for shared memory and in-memory operation.
The OSS layer provides both SingleRing and LaneGraph execution models through a unified source authoring contract.
ByteOr Enterprise — Governance and Operations
Enterprise adds the operator surface:
- Runtime CLI —
validate,describe,dot,diff,run,doctor,snapshot,incident-bundle,replay,capabilities,compatibility. - Policy and approvals — Environment-scoped approval requirements with cryptographic credential verification.
- Incident bundles and replay — Captured state for triage, dry-run investigation, and governed re-execution.
- DataGuard — Schema-aware data governance with registry-based validation, redaction, and audit reporting.
- Adapters — Transport-facing integrations for Kafka, NATS, Redis Streams, RabbitMQ, gRPC, HTTP, WebSocket, S3, and PostgreSQL.
- Product binaries — EdgePlane (adapter loops), ActionGraph (side-effect stages), DataGuard (protected data flows).
ByteOr Cloud — Control Plane
Cloud provides the hosted SaaS experience:
- Organizations, projects, and environments — Multi-tenant resource hierarchy.
- Pipeline editor — Draft authoring with execution target selection, plan-based compilation, and version creation.
- Config bundles — Environment-specific runtime configuration with guided tuning profiles.
- Deployments — Version + bundle + environment targeting with approval gates.
- Agents — Environment-scoped agent enrollment, heartbeats, and runtime key management.
- Artifacts and incidents — Artifact storage, incident bundle management, and replay launch paths.
- Audit trails — Recorded history for approval-sensitive actions, deployments, and membership changes.
Deployment Modes
ByteOr supports multiple deployment modes:
In all modes, the runtime executes on customer infrastructure. The control plane manages versions, bundles, and deployments but never touches the data path.
Crate Layering
The ByteOr pipeline workspace is organized as a layered set of crates, each with a clear responsibility boundary:
Data Flow
The recommended production path uses PipelinePlanV2 rather than constructing specs directly. The flow from author intent to running executor: