News for hackers. Stuff that matters.
Re:Offline-First Database Comparison by mamcx on Tuesday October 26, 2021 @12:44PM (#29002690)
I'm doing something like this with CRDTs + RDBMS (POC with sqlite).

The closest thing is this:

https://munin.uit.no/bitstream/handle/10037/22344/thesis.pdf

There it split each record in a stream of CRDTs values. I found (quickly!) that it could cause serious violations of business logics if done as-is. Now, I trying to threat the record as whole. Still could have issues for multi-record/table logical integrity, so I have tough in build a "transaction markers" so your stream of changes are:

  Start
   ADD: T1.Row1...
   ADD: T2.Row1...  
  End
So you don't partially apply a change.

P.D: If interested and know Rust we can talk!

Re:Offline-First Database Comparison by dvdhnt on Wednesday October 27, 2021 @01:25PM (#29016256)
Thanks for sharing! Unfortunately, I don't work with Rust :/