Syncing data between iOS devices
1–10 of 11 posts
Re: Syncing data between iOS devices
#2Everyone 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
Re: Syncing data between iOS devices
#3Re: Syncing data between iOS devices
#4Re: Syncing data between iOS devices
#5Couchbase Lite supports both iOS and Android, and it's all open source. http://mobile.couchbase.com
But how do we choose between CouchBase and CouchDB sync?
Re: Syncing data between iOS devices
#6Couchbase Lite supports both iOS and Android, and it's all open source. http://mobile.couchbase.com
There's also Cloudant Sync based on CouchDB, which is also open-source and for both iOS and Android. https://cloudant.com/blog/introducing-cloudant-sync/ But how do we choose between CouchBase and CouchDB sync?
Re: Syncing data between iOS devices
#7The 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!
Re: Syncing data between iOS devices
#8Interesting read. I've been working on multi-device sync for some time and noticed a few things I ran into. The article speaks of P2P, and goes on to say that transaction logs are uploaded to the cloud. Not P2P then. P2P doesn't work anyway, because there's no guarantee that any two devices are active at any one time. I'm pretty sure my understanding of P2P is limited, compared to the author's. The other issue is tha…
http://stackoverflow.com/questions/21733360/algorithm-that-s...
Re: Syncing data between iOS devices
#9Interesting read. I've been working on multi-device sync for some time and noticed a few things I ran into. The article speaks of P2P, and goes on to say that transaction logs are uploaded to the cloud. Not P2P then. P2P doesn't work anyway, because there's no guarantee that any two devices are active at any one time. I'm pretty sure my understanding of P2P is limited, compared to the author's. The other issue is tha…
I'm stuck on this too. I wish to make my invoice app with offline support + async sync, where a company sync several devices, in both ways: 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.
Re: Syncing data between iOS devices
#10Earlier quoted context omitted.
I'm stuck on this too. I wish to make my invoice app with offline support + async sync, where a company sync several devices, in both ways: http://stackoverflow.com/questions/21733360/algorithm-that-s...
We built a custom solution at SeatMe to sync multiple iOS devices with offline support to a central database. There were a lot of edge cases that make it pretty difficult. 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.