3 ms·
I started using Things about 4-5 years ago and it's been amazing, partly because of the first-class support for syncing between devices and their cloud. Thanks
by philsnow 2y ago
I started using Things about 4-5 years ago and it's been amazing, partly because of the first-class support for syncing between devices and their cloud. Thanks for making this great!
I would be interested to read any articles you've written about Things's sync pattern, if any.
- erichocean 2y agoHashing + custom server merge is the main logical device, the rest is just encoding tricks to make everything fast. Push becomes like git push to a tmp branch, then you do a server-side merge, then a pull on remaining clients. Push/pull is fast just like git, and due to content hashing, there are never any problems overwriting another device's work on the server. I think I had some clever tricks with text syncing (IIRC I implemented a Merkle tree-inspired approach), but that's the general concept. (I don't remember anything else, it was so long ago. :-)