Skip to main content

Module events

Module events 

Source
Expand description

Operation-based CRDT trait for event sourcing.

Op-based CRDTs produce operations (events) that can be:

  • Persisted as an append-only event log
  • Broadcast to other replicas for synchronization
  • Replayed to reconstruct state

This trait bridges the gap between CRDTs and event sourcing: each CRDT operation IS a domain event.

Traitsยง

OpCrdt
A CRDT that can express its mutations as discrete operations.