Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does this handle multi-user conflicting updates, e.g. OT, CRDT?


I believe individual fields are last-writer-wins. Fancier CRDTs like text/lists are not directly supported, but I found that you can layer them on top: https://github.com/mweidner037/list-demos/tree/master/tripli...


Yep exactly. We also include a [Set CRDT](https://www.triplit.dev/docs/schemas#set) you can add to any entity.

In the future, we'll have an easier way to accomplish what Matt did out of the box so you can create re-orderable lists and collaborative text that are fast and seamlessly handle conflicts automatically


Yeah, docs say last write wins (at the field level though, not the document level).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: