josephg/diamond-types

Could you provide more details on the current persistence strategy?

federico-terzi opened this issue · 0 comments

Hi there!

First of all, thank you for the amazing project and write ups! I'm diving into the world of CRDTs and your content has been immensely helpful to improve my understanding.

Going through the INTERNALS.md file, I've noticed this warning:

This was written for an earlier version of diamond types when I persisted the merge structure like yjs and automerge do. This has much worse performance when there are no concurrent changes, and a bigger file size. TODO: Bring this entirely up to date with the current DT version!

Could you provide more details on the current persistence strategy? I'd be so interested to learn more about it

Keep rocking!