Orisun is a batteries-included event store for systems that need durable event history, content-based consistency checks, and real-time delivery without running a separate broker.
For SQLite production durability, use ORISUN_SQLITE_SYNCHRONOUS=FULL
(recommended). NORMAL is a throughput opt-out that can lose already
acknowledged commits after an OS crash or power loss before checkpointing.
SQLite stores event logs in one {boundary}.db file per boundary and stores
publisher checkpoints, projector checkpoints, admin users, and count caches in
one {boundary}_metadata.db file per boundary under ORISUN_SQLITE_DIR.
YugabyteDB uses the PostgreSQL-compatible binary with ORISUN_PG_DIALECT=yugabyte.
Use YugabyteDB v2025.2.3+ and enable LISTEN/NOTIFY on Masters and TServers
with ysql_yb_enable_listen_notify=true.
See the getting started guide for binary and Docker setup for all supported backends.
Release binaries are attached to each GitHub release:
Asset pattern
Backend
orisun-pg-<os>-<arch>
PostgreSQL-compatible backends: PostgreSQL and YugabyteDB
orisun-sqlite-<os>-<arch>
SQLite only
orisun-fdb-<os>-<arch>
FoundationDB only, built with -tags foundationdb (beta)
Docker tags are published to Docker Hub (orexza/orisun) and GitHub Container Registry (ghcr.io/oexza/orisun) with the same flavor tags:
Tag
Backend
orexza/orisun:pg
PostgreSQL-compatible backends: PostgreSQL and YugabyteDB
orexza/orisun:sqlite
SQLite only
orexza/orisun:fdb
FoundationDB only, beta, includes the FDB client library
orexza/orisun:<version>-pg
PostgreSQL-compatible release
orexza/orisun:<version>-sqlite
SQLite-only release
orexza/orisun:<version>-fdb
FoundationDB-only release
Use the same suffixes with ghcr.io/oexza/orisun, for example ghcr.io/oexza/orisun:fdb.
Development
go test ./...
go build ./...
task build
task build:pg
task build:sqlite
go build -tags foundationdb ./cmd/orisun-fdb
FoundationDB support is beta. It is covered by backend, failover, and ledger workload tests, but storage layout or operational behavior may still change in a future release if production feedback exposes a better contract.