tickertape
A Rust library for a local, append-only event journal on memory-mapped segment files: one writer process appends records (bytes, a gap-free sequence number, a schema id and two caller-supplied timestamps); readers in other processes on the same machine follow them live or replay from any sequence number. Linux and macOS.
- Simple, versioned on-disk format:
docs/format.md - Explicit crash contract, with the test for each guarantee:
docs/crash-contract.md - Visible (after
append) is not durable (aftercheckpoint()); power-loss safety is not claimed. - Opt-in retention moves or deletes sealed segments strictly before the checkpoint segment.
- Safe
pread-based readers by default; zero-copy readers are anunsafeopt-in.
The tickertape CLI (crate tickertape-cli) tails, verifies and exports journals to JSONL or Parquet.
See the repository for the quickstart, examples and benchmarks.
Licensed under MIT OR Apache-2.0.