Rust project tsoracle adds gapless sequences to timestamp oracle service
tsoracle is a Rust-based timestamp oracle that issues strictly increasing IDs to order events across distributed systems, similar to internal mechanisms used by Spanner, CockroachDB, and FoundationDB. Alongside standard monotonic timestamps via get_ts(), it now offers get_seq(), which returns gapless, contiguous ID sequences per named key for uses like invoice numbers or ledger entries. The system includes crash-safe fsync'd state, pluggable consensus drivers for openraft and OmniPaxos, a gRPC client, and Prometheus-compatible metrics.
GoKawiil's interpretation of the reporting above, not reported fact.
Combining ordering guarantees with gapless sequencing in one service could simplify infrastructure for teams that previously needed separate systems for MVCC ordering and contiguous ID generation, such as financial ledgers. Its pluggable consensus design suggests an aim to let developers swap in existing replicated-log implementations rather than being locked into one, which could ease adoption in varied distributed architectures.
- tsoracle provides both strictly monotonic timestamps and gapless sequences from a single engine
- It supports pluggable consensus backends including openraft and OmniPaxos
- Crash safety is achieved via fsync'd window state, preventing timestamp rewinds after restarts
Source: tsoracle.rs — Prisma Risk, 2026-11-13
Published there as: “Strictly monotonic timestamps and gapless sequences in Rust”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.