Reputation: 81
I have to write an app running on Android, iOS and desktops (I will probably use Titanium). This app has to maintain a database that is constantly synchronized between all devices and desktop (and maybe the web in the future).
Is there any tool/service allowing to do database synchronization very easily?
I want something where I write data locally on any device and data is automatically synchronized and merged using to all devices using the cloud.
Upvotes: 4
Views: 1707
Reputation: 46
You can use Mobeelizer. It is a solution, which offers you the complete sync infrastructure for mobile apps and allows you easily synchronize data between mobile and web or desktop application. There is also Titanium SDK for you. Here you can find more information http://docs.mobeelizer.com/display/doc/Titanium+References
Upvotes: 1
Reputation: 578
CouchDB is the way to go. I'm working on a similar project right now. iOS, Android, web client - they all need synchronization. CouchDB has fantastic replication support that is all done over HTTP. It's a thing of beauty. Couchbase Mobile is still very much in a "developer preview" state, but progressing nicely.
You will have to handle potential update conflicts (CouchDB returns an HTTP 409 status code so you can handle it appropriately - based on your business requirements).
My only complaints so far is the boot up time of the CouchDB service and the size of the dependencies. If you can work around those problems, it might be a good solution for you.
Checkout more here: http://www.couchbase.com/products-and-services/couchbase-mobile
Good luck!
Upvotes: 3