Orisun

module
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT

README

Orisun

Orisun

CI Release Latest Release

Orisun is an open-source event database built for Command Context Consistency (CCC).

Applications declare the event context behind a decision with content-based queries. Orisun commits new events only if that context is still current, preserving the complete event history without forcing consistency rules into fixed streams or aggregates.

Orisun provides:

  • Transactional event storage with SQLite, PostgreSQL, YugabyteDB, and FoundationDB (beta).
  • Query-driven optimistic concurrency with content-scoped consistency checks.
  • Per-boundary ordered catch-up and live subscriptions through embedded NATS JetStream.
  • Event-backed boundary creation and import at runtime, without a startup boundary list.
  • gRPC APIs, generated clients, server binaries, Docker images, and embedded runtimes.

Documentation

See the Orisun documentation for concepts, setup, the Admin boundary API, client libraries, embedding, migration, and operations. Existing deployments should follow the dedicated 0.7.0 to 0.8.0 upgrade guide before changing their server version.

License

MIT

Directories

Path Synopsis
slices/boundary_catalog
Package boundary_catalog projects boundary lifecycle events into a catalog.
Package boundary_catalog projects boundary lifecycle events into a catalog.
Package boundary defines the transport-neutral lifecycle model for Orisun boundaries.
Package boundary defines the transport-neutral lifecycle model for Orisun boundaries.
events
Package events defines the durable, transport-neutral boundary lifecycle event contracts.
Package events defines the durable, transport-neutral boundary lifecycle event contracts.
cmd
orisun-fdb command
orisun-pg command
orisun-sqlite command
embedded
Package eventstore defines Orisun's transport-neutral event-store value model.
Package eventstore defines Orisun's transport-neutral event-store value model.
examples
basic_usage command
internal
eventstoreadapter
Package eventstoreadapter confines conversions between Orisun's legacy event-store model and the transport-neutral eventstore model.
Package eventstoreadapter confines conversions between Orisun's legacy event-store model and the transport-neutral eventstore model.
grpcstatus
Package grpcstatus translates transport-neutral statuscode errors at the gRPC boundary.
Package grpcstatus translates transport-neutral statuscode errors at the gRPC boundary.
statuscode
Package statuscode defines transport-neutral error codes shared by storage backends and embedded clients.
Package statuscode defines transport-neutral error codes shared by storage backends and embedded clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL