Skip to content

vitorenesduarte/ldb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ldb

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_NUMBER 0.. 0.. 0.. 0..
LDB_MODE state_based delta_based scuttlebutt op_based
LDB_STATE_SYNC_INTERVAL 0.. 0.. 0.. 0..
LDB_REDUNDANT_DGROUPS NA true / false NA NA
LDB_DGROUP_BACK_PROPAGATION NA true / false NA NA
LDB_SCUTTLEBUTT_GC NA NA true / false NA
LDB_OP_II NA NA NA true / 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.