3 ms·
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 ht
by mamcx 5y ago
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 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!
- dvdhnt 5y agoThanks for sharing! Unfortunately, I don't work with Rust :/