3 ms·
No! Blockchains guarantee total ordering of events, but CRDTs are designed so that ordering doesn't matter and so long as all updates reach all nodes in the sys
by KirinDave 10y ago
No! Blockchains guarantee total ordering of events, but CRDTs are designed so that ordering doesn't matter and so long as all updates reach all nodes in the system (in any order) everyone agrees on the result.
In some cases (e.g., a monotonically growing list) you can use both. But the way a blockchain handles conflict and the way CRDTs handle conflict is quite different.
- skrebbel 10y agoThanks for clearing that up. I thought the distributed nature of blockchain implied something unordered but clearly I was wrong :-)
- KirinDave 10y agoFor things like not letting you overspend an account, blockchains are better (CRDTs exist to do this but have some undesirable properties). There exist a startlingly low number of cases where a CRDT expressing strong eventual consistency doesn't cut it, though.