Description
Celeriant is an append-only event store for the write side of event-sourced systems. It runs as a server rather than as a library, and the site describes it as a two-node store written in Rust. Writes use optimistic concurrency control with expected versions, so a write fails when the stream has changed since the caller last read it, and appends are exactly-once. Events are stored per aggregate, and a single atomic write can span several aggregates when each one has its own expected version. Read models can read an aggregate's events in batches from a chosen version, and a watch API is provided for following changes. The site also lists end-to-end encryption, server-side schema validation, and a design that uses S3 conditional writes instead of Raft. The author says the project exists because Kafka moves events between services but offers no optimistic concurrency control and no per-aggregate reads, while Marten on Postgres needs a background daemon. The code is on GitHub, and the feature and performance pages go into more detail.…
Highlights
- Optimistic concurrency control with expected versions
- Exactly-once appends per aggregate
- Per-aggregate reads and a watch API
- End-to-end encryption and server-side schema validation
- Written in Rust
Ratings & Reviews
No ratings yet
Be the first to rate Celeriant DB.
People also visit
Celeriant DB FAQ
What is Celeriant?
An append-only event store for the write side of CQRS. The site describes it as a fast, distributed server for per-aggregate event streams.
How does it differ from Kafka?
The site says Kafka moves events between services but has no optimistic concurrency control and no per-aggregate reads. Celeriant is built to provide both.
How are writes kept consistent?
The site says writes use optimistic concurrency control with expected versions, and that appends are exactly-once.
Where is the code?
The project is published on GitHub, which the site links to.
What are the best Celeriant DB alternatives?
Popular alternatives to Celeriant DB include Event Reduce, Seafowl and Eidetica. See all Celeriant DB alternatives

