logoalt Hacker News

tevon • 10/02/2024 • 1 reply • view on HN

We've thought a fair amount about this. Our approach is the use sqlite on-device. Think about it more as a partially replicated db instead of a cache.

Then locally available devices can compare changelogs and sync only the delta.

No need for a checksum, since you can use monetonically increasing version numbers and CRDTs!


Replies

vardump • 10/03/2024

> No need for a checksum, since you can use monetonically increasing version numbers and CRDTs!

How does that help against random bit flips?