Re:Stop Syncing Everything
by fauigerzigerk on Wednesday April 02, 2025 @03:16PM
(#43560429)
I agree, hotel booking is not a great example.
I think CRDTs would be applicable to a wider range of applications if it was possible to specify soft constraints.
So after merging your changes you can query the CRDT for a list of constraint violations that need to be resolved.
But this isn't a problem specific to CRDTs, it's a limitation with any database that favors availability over consistency. And there are use cases that don't require these kinds of constraints where these limitations are more manageable.