4 ms·
> CRDTs ... are useful in a limited set of use cases when your operations are commutative As you correctly observe, very few applications that exist today have
by preseinger 4y ago
> CRDTs ... are useful in a limited set of use cases when your operations are commutative
As you correctly observe, very few applications that exist today have data models with operations that satisfy the requirements of CRDTs, including e.g. commutativity. But CRDTs were never meant to be a "swappable" state layer for existing applications. The idea has always been that applications would need to change how they interact with state, to a model which does satisfy those requirements. Such models can absolutely generalize, it just takes a bit of thinking.