pssalmeida/clj-crdt

CRDTs in Clojure

Clojure

48

11 commits

updated May 4, 2016

See the code

README

crdt

CRDTs - Conflict-free Replicated Data Types:

Usage

  • Handoff Counters - eventually consistent distributed counters
(use crdt.handoff-counter)
(let [c1 (init :id1 tier)
      c2 (init :id2 tier)
      c1 (incr c1)
      c2 (incr c2)
      c1 (join c1 c2)
      c2 (join c2 c1)
      ; ...]
  (value c1))

License

Copyright (C) 2013 Paulo Sérgio Almeida

Distributed under the Eclipse Public License, the same as Clojure.

Contributors

pssalmeida

11 commits

pssalmeida/clj-crdt

CRDTs in Clojure

Clojure

48

11 commits

updated May 4, 2016

See the code

README

crdt

CRDTs - Conflict-free Replicated Data Types:

Usage

  • Handoff Counters - eventually consistent distributed counters
(use crdt.handoff-counter)
(let [c1 (init :id1 tier)
      c2 (init :id2 tier)
      c1 (incr c1)
      c2 (incr c2)
      c1 (join c1 c2)
      c2 (join c2 c1)
      ; ...]
  (value c1))

License

Copyright (C) 2013 Paulo Sérgio Almeida

Distributed under the Eclipse Public License, the same as Clojure.

Contributors

pssalmeida

11 commits

Languages

Clojure

100.0%