Mobile Database Sync

I need to write an application that runs on Android, iOS and desktop computers (I will probably use Titanium). This application must support a database that is constantly synchronized between all devices and the desktop (and possibly the network in the future).

Is there any tool / service that makes it easy to synchronize a database?

I want somewhere to record data locally on any device, and the data is automatically synchronized and combined using all devices using the cloud.

+4
source share
2 answers

CouchDB is the way to go. Now I am working on a similar project. iOS, Android, web client - all of them need synchronization. CouchDB has fantastic HTTP replication support. This is a thing of beauty. Couchbase Mobile is still very β€œpreviewable,” but well developed.

You will have to handle potential update conflicts (CouchDB returns an HTTP status code of 409, so you can handle it accordingly - based on your business requirements).

My only complaints are the boot time of the CouchDB service and the size of the dependencies. If you can get around these problems, this may be a good solution for you.

More details here: http://www.couchbase.com/products-and-services/couchbase-mobile

Good luck

+3
source

You can use the Mobeelizer. This solution, which offers you a complete synchronization infrastructure for mobile applications, makes it easy to synchronize data between mobile and network or desktop applications. There is also a Titanium SDK for you. Here you can find additional information http://docs.mobeelizer.com/display/doc/Titanium+References

+1
source

Source: https://habr.com/ru/post/1386374/


All Articles