Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Couchbase-lite and CouchDB

I'm unclear about the requirements for using Couchbase-lite.
Is it possible to use Couchbase-lite with CouchDB? Or does Couchbase-lite require Couchbase Server and Sync Gateway? Thanks!

like image 515
Julian A. Avatar asked Dec 10 '13 08:12

Julian A.


People also ask

Is Couchbase same as CouchDB?

CouchDB is an Apache open source project written in the Erlang language and is free for the user to download. Couchbase is also open source, but it has enterprise, community and developer editions as a portfolio of components. You can download the community edition.

Is CouchDB Couchbase compatible?

Meanwhile CouchDB is an actively maintained open-source project, Couchbase server is a completely separate project (it is a newer project but it is not a newer version of CouchDB - they are not even compatible) and since even new tools for creating CouchApps still keep being developed (eg.

What type of database is CouchDB?

CouchDB is an open source NoSQL database based on common standards to facilitate Web accessibility and compatibility with a variety of devices. NoSQL databases are useful for very large sets of distributed data, especially for the large amounts of non-uniform data in various formats that is characteristic of big data.


2 Answers

According to the documents it is 100% compatible with both CouchDB and Couchbase.

http://docs.couchbase.com/couchbase-lite/cbl-concepts/#can-couchbase-lite-replicate-with-apache-couchdb-servers

Also I found this blog post on syncing IOS with CouchDB, might be useful! http://blog.lunarlogic.io/2013/synchronization-using-couchdb/

Edit

Official Couchbase link above isn't valid anymore however the following official article from Couchbase lists the other databases that are compatible: (CouchDB,PouchDB,Cloudant)http://developer.couchbase.com/documentation/mobile/current/develop/guides/couchbase-lite/native-api/replication/index.html

like image 191
scalabilitysolved Avatar answered Sep 20 '22 10:09

scalabilitysolved


Couchbase Lite implements the CouchDB replication protocol and is 100% compatible with CouchDB. However, Couchbase Server does not require certain document metadata that CouchDB documents contain for performance reasons. Sync Gateway is how the necessary meta-data gets added to Couchbase Server.

like image 39
rismay Avatar answered Sep 18 '22 10:09

rismay