3 ms·
Can someone answer how we go about the single-source-of truth problem in this distributed scenario? Or does this approach guarantee consistency among all synced
by jasmer 4y ago
Can someone answer how we go about the single-source-of truth problem in this distributed scenario? Or does this approach guarantee consistency among all synced data so that they are all effectively the same?
I can see how this would be used for 'live data sharing' but what about for more persistent information, like documents, designs etc?
- satvikpendem 4y ago> Or does this approach guarantee consistency among all synced data so that they are all effectively the same? Correct, this is what CRDTs are for, eventual consistency.
- LAC-Tech 4y agoThe term used in the CRDT papers is "strong eventual consistency" - basically it's an eventually consistent system with the added guarantee that any two replicas that have received the same updates - in any order - will have the same state. So as for documents etc, if you can find or come up with a CRDT where the automatic merging function will give you something that makes sense for a user - sure.