|
|
|
|
|
by astigsen
3557 days ago
|
|
Realms approach to conflict resolution is very different from what you see in products like Couch. Realm is an _object_ database, so in contrast to document databases where conflict resolution happens very coarse grained at the document level, in Realm it happens at the object level (and actually all the way down into individual properties). This essentially means that the entire object graph is treated as one big CRDT [0], transparently handling conflict across individual objects, properties and relations. When talking about ordering by time, both in the context of LWW and insertions in lists, we are talking about vector clock time, not necessarily device time (or though that is taken into account as well). [0] https://en.wikipedia.org/wiki/Conflict-free_replicated_data_... |
|
While reading the announce, my first guess was some recursive per-field LWW, but you mentioned vector clocks. That is intriguing.