ldb

February 9, 2019 · View on GitHub

Build Status

LDB supports different CRDT replication models:

  • state-based
  • delta-state-based
  • scuttebutt-based
  • op-based

More info

Configuration

  • LDB_MODE:
    • state_based
    • delta_based
    • scuttlebutt
    • op_based
  • LDB_STATE_SYNC_INTERVAL: 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_SCUTTLEBUTT_GC: when set to true, performs garbage collection of buffer entries in Scuttlebutt.
  • LDB_OP_II: when set to true, the backend leverages implicit info in protocol messages
NODE_NUMBER0..0..0..0..
LDB_MODEstate_baseddelta_basedscuttlebuttop_based
LDB_STATE_SYNC_INTERVAL0..0..0..0..
LDB_REDUNDANT_DGROUPSNAtrue / falseNANA
LDB_DGROUP_BACK_PROPAGATIONNAtrue / falseNANA
LDB_SCUTTLEBUTT_GCNANAtrue / falseNA
LDB_OP_IINANANAtrue / false

Defaults

  • LDB_MODE: state_based
  • LDB_STATE_SYNC_INTERVAL: 1000
  • LDB_REDUNDANT_DGROUPS: false
  • LDB_DGROUP_BACK_PROPAGATION: false
  • LDB_SCUTTLEBUTT_GC: false
  • LDB_OP_II: false

Experiments

Please check https://github.com/vitorenesduarte/exp.