3 ms·
yep! Iroh documents [1] give you a very nice primitive that is technically a CRDT, but in practice most people use it as a key-value store. We really wanted a m
by b_fiive 3y ago
yep! Iroh documents [1] give you a very nice primitive that is technically a CRDT, but in practice most people use it as a key-value store. We really wanted a mutable solution that would support real deletions (instead of tombstones), and starting with append-only logs locks you out of that choice.
With Iroh + CRDTs you have three choices:
1. Use iroh's connection & gossip layers in conjunction with a mature CRDT library like Automerge or Y.js.
2. Build a more sophisticated CRDT on top of iroh documents.
3. Worry a little less about weather your data structures form a semilattice & build on a last-writer wins key-value store (basically: just use documents)
We've seen uses for all three. Hope that helps!
[1] https://iroh.computer/docs/layers/documents https://iroh.computer/docs/layers/documents