eventory 0.1.0

Dart native js
Flutter Android iOS web

An event sourcing-inspired library targeting offline-first use, with automatic synchronization with remote instances when connection is available.

Eventory #

Work in progress

An event sourcing-inspired library targeting offline-first use, with automatic synchronization with remote instances when connection is available.

Design Principles #

  • All events are acceptable. Errors are managed when looking at the data, not when writing.
  • Writers control the instant events happen.
  • Event value serialization mechanism can be chosen by library users.
  • EventSource is immutable and represents the state of the world at a precise moment in time.
  • EventorySink must be able to write as fast as possible.
  • Snapshots allow EventSources to be extremely efficient at querying data.
  • EventSource and EventorySink are always separate entities even when using the same storage mechanism.
  • Reloading an EventSource with new events from an EventorySink or remote stream must be extremely cheap.
0
likes
100
pub points
0%
popularity

An event sourcing-inspired library targeting offline-first use, with automatic synchronization with remote instances when connection is available.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

renato@athaydes.com

License

BSD (LICENSE)

Dependencies

collection, meta, synchronized

More

Packages that depend on eventory