Deployable distributed runtime

A deployable event-ordering runtime for replay, recovery, and distributed event flows.

causal-order is a deployable event-ordering runtime for distributed systems that need bounded replay handling, reconnect-heavy stream reconciliation, explicit late-arrival policy, and operator-visible output rather than timestamp-only ordering.

Published on npm
npm install causal-order View package
Runtime contract
  • orderEvents() for bounded replay, recovery, and audit workloads
  • orderEventStream() for continuous, delayed, and reconnect-heavy flows
  • explicit policy for late arrivals, uncertainty, and correction-capable output
  • inspection helpers for operator review, downstream writeback, and reconciliation
Why this exists

Production timelines often look cleaner than the system actually was.

Replayed events can look newer than originals. Offline devices sync late. Ingestion order can differ from creation order. causal-order is built for systems that still need a deployable ordering runtime without turning those realities into false certainty.