Conflict-free Replicated Data Types Database


License
Apache-2.0

Documentation

ldb

Build Status

LDB supports different CRDT replication models:

  • state-based
  • delta-state-based
  • pure-op-based

Configuration

  • LDB_MODE:
    • state_based
    • delta_based
    • pure_op_based
  • LDB_DRIVEN_MODE: see this for details on state_driven and digest_driven algorithms
    • none
    • state_driven
    • digest_driven
  • LDB_STATE_SYNC_INTERVAL: in state_based and delta_based modes, state is propagated every X milliseconds
  • LDB_REDUNDANT_DGROUPS: when set to true, removes redundant state that may be present in the received delta-groups, using join-decompositions
  • LDB_DGROUP_BACK_PROPAGATION: when set to true, avoids back-propagation of delta-groups
  • LDB_METRICS: metrics are recorded if true
LDB_MODE state_based delta_based pure_op_based
LDB_DRIVEN_MODE none / state_driven / digest_driven none / state_driven / digest_driven NA
LDB_STATE_SYNC_INTERVAL 0.. 0.. NA
LDB_REDUNDANT_DGROUPS NA true / false NA
LDB_DGROUP_BACK_PROPAGATION NA true / false NA

Defaults

  • LDB_MODE: state_based
  • LDB_DRIVEN_MODE: none
  • LDB_STATE_SYNC_INTERVAL: 1000
  • LDB_REDUNDANT_DGROUPS: false
  • LDB_DGROUP_BACK_PROPAGATION: false
  • LDB_METRICS: false