castellanprime / ldb

Replication of CRDTs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ldb

Build Status

LDB supports different CRDT replication models:

  • state-based
  • delta-state-based
  • dotted-based (scuttebutt)

Configuration

  • LDB_MODE:
    • state_based
    • delta_based
    • scuttlebutt
    • vanilla_scuttlebutt
  • 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

State-based and delta-based modes are described here, as well as the optimizations removal of redundant delta-groups and avoiding back-propagation of delta-groups.

NODE_NUMBER 0.. 0.. 0..
LDB_MODE state_based delta_based scuttlebutt
LDB_STATE_SYNC_INTERVAL 0.. 0.. 0..
LDB_REDUNDANT_DGROUPS NA true / false NA
LDB_DGROUP_BACK_PROPAGATION NA true / false NA

Defaults

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

About

Replication of CRDTs

License:Apache License 2.0


Languages

Language:Erlang 96.6%Language:Makefile 2.9%Language:Shell 0.5%