Skip to content
A CRDT library with δ-CRDT support.
Branch: master
Clone or download
asonge Merge pull request #4 from frmendes/master
Fix LWWRegister join with nil clocks
Latest commit 21b2710 Apr 7, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Initial commit. Minimal testing. Minimal docs Nov 17, 2014
lib Add tests for LWWRegister join Apr 7, 2017
test
.gitignore Updating docs and deps Feb 26, 2015
.travis.yml New API for deltas, etc Feb 26, 2015
LICENSE Preparing a preview release... Nov 24, 2014
README.md Updating docs and deps Feb 26, 2015
coveralls.json A bit more test coverage Feb 26, 2015
mix.exs Updating docs and deps Feb 26, 2015
mix.lock Updating docs and deps Feb 26, 2015

README.md

Loom

Build Status Coverage Status Docs Status Hex docs Current Release License Apache2

Loom is a set of basic CRDT's that are designed to be composable and extensible. We include support for delta-CRDT's (δ-CRDT's) where it makes sense.

δ-CRDT's

In order to combat issues with large objects, δ-CRDT's are supported for some datatypes. You can extract deltas from delta-CRDT's, and periodically clear them out from your datastructures to reduce memory constraints.

What the heck is a CRDT?

Conflict-free, Coordination-free, Commutative, or Convergent datatypes, CRDT's are usually formally described as "join semi-lattices". Mathematical jargon aside, CRDT's track causality for modifications to your data. Because of this, time becomes less relevant, and coordination becomes unnecessary to get accurate values for your data.

Can you give me an example of one?

I will have a simple explanation here for a basic gcounter and a pncounter.

For now, I can simply point you to the GCounter code in here.

Where can I learn more?

You can’t perform that action at this time.