Syncing data between iOS devices
objc.io
objc.io
The other issue is that all approaches described seem to preclude multi-user sync, which is what I've been struggling with. Security also becomes a ball-ache in that changing a password, which unlocks a private key that unlocks a symmetric key that encrypts and decrypts content means storing two copies of any one sync item until all sync clients have the new keys. There are ways of simplifying this, but complexity always creeps back in if I want a zero-knowledge server.
The third thing I'm working on is the idea of multiple, disposable servers. If one goes down, another steps in. If server A offers better comms to device 2 than device 1 which syncs via server B, then device 2 should default to server A without affecting sync scope from device 1.
It's a fascinating subject.
Good article, all the same!
http://stackoverflow.com/questions/21733360/algorithm-that-s...
There was the embedded mongo (or maybe couchbase?) db available for iOS that does multi-master sync that was being developed for a while that might work though.
Everyone else: if you want to help support the site, set up a recurring purchase for the objc.io app in the App Store. It's something ridiculously cheap (for the value provided), like $5.
Also, for more on iOS data syncing and Core Data, this has been a frequent topic of late on Brent Simmons' blog: http://inessential.com
But how do we choose between CouchBase and CouchDB sync?