8 comments

[ 5.1 ms ] story [ 18.9 ms ] thread
There's a need because WAL/OTs aren't the most approachable.

It's important to communicate and assure ACID and CAP properties. It'd be nice to have an "ORM" data layer that's say an extension of GraphQL that can specify what sort of guarantees the app wants.

CRDT stands for Conflict Free Replicated Datatypes
And CALM stands for Consistency As Logical Monotonicity -- CRDTs evolve monotonically in a certain sense.
I've been using databases that offer strong consistencies, and only recently came across the concept of weak consistency, or eventual consistency. But there seems to be too many varieties of weak consistencies and it's so hard to figure out the nuances and know whether my app is safe under a certain consistency model. This line of research seems to help with that, but oftentimes applications interact with DB in different patterns, and I am not sure if you can get these all covered..
Author here. Happy to answer any questions. - Conor