Confused with CouchDB and Couchbase

I am studying CouchDB and Couchbase, as I am looking for a database solution for a web application that I can eventually make in my native Android / iOS application. As I understand it, CouchDB / Couchbase outperforms the ability to use an autonomous network and sync as soon as the connection is restored.

I also understand that CouchDB and Couchbase are two different products from two different organizations - CouchDB - from Apache, and Couchbase - from Couchbase. There is a great answer explaining some of the differences .

Couchbase has Couchbase-Lite-Android and similar for iOS as built-in embedded DBs for mobile applications that sync with the Couchbase server.

Where am I getting lost when I try to find the equivalent of CouchDB. Everything points to TouchDB, which then says that it is no longer actively developing and instead points to Couchbase-Lite-Android as a project that surpassed it. But is Couchbase-List-Android / iOS synced with CouchDB or just Couchbase? According to the Wiki, it indicates that it can sync with CouchDB, but it is a secondary backend that gets lower priorities and / or bug fixes.

So what are the built-in / mobile versions of CouchDB that should be used for Android / iOS?

+5
source share
1 answer

This is Couchbase Lite .

I answered a similar question / confusion here . TouchDB was created as an Apache-CouchDB compatible database engine suitable for implementation in mobile / desktop applications. A compatible factor here is the CouchDB replication protocol and the NoSQL data model.

In the process , to offer mobile synchronization as a feature of Couchbase Server, they changed and renamed TouchDB as Couchbase Lite, and also built Sync Gateway to act as a server bridge between Couchbase Server and Couchbase Lite.

But the data model and replication protocol are still the same as Apache-CouchDB and Couchbase Lite, which is fully compatible with CouchDB.

In conclusion, Couchbase Lite <-sync-> Apache-CouchDB and Couchbase Lite <-sync-> (via the Couchbase sync server).

I doubt that CouchDB is a secondary backend that gets lower priorities and / or bug fixes. We have been using Couchbase Lite since TouchDB and IMO, Couchbase-Lite is actively developing and gaining great support.

+4
source

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


All Articles