Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MongoDB or CouchDB as database for mobile devices?

I wonder if MongoDB and CouchDB could work as database for mobile devices?

If they both can, which one is better to use for online/offline storage?

like image 732
never_had_a_name Avatar asked Sep 17 '10 15:09

never_had_a_name


People also ask

When should I use MongoDB vs CouchDB?

MongoDB provides faster read speeds. CouchDB can be run on Apple iOS and Android devices, offering support for mobile devices. The database can grow with CouchDB; MongoDB is better suited for rapid growth when the structure is not clearly defined from the beginning.

Is couchbase better than MongoDB?

MongoDB performed better than Couchbase on a 4-node cluster, but lower on 10- and 20-node clusters. Cassandra did not perform so well with 2,570 ops/sec on a 4-node cluster, 4,230 ops/sec on a 10-node cluster, and 6,563 ops/sec on a 20-node cluster.

Why should you use CouchDB?

The architectural design of CouchDB makes it extremely adaptable when partitioning databases and scaling data onto multiple nodes. CouchDB supports both horizontal partitioning and replication to create an easily managed solution for balancing both read and write loads during a database deployment.

Is CouchDB still relevant?

Currently, we use CouchDB in various projects throughout our Big Data Insight Product Division for development and production environment setup. Mainly it is being used to store serialized (JSON formatted) unstructured data.


2 Answers

CouchDB has built in support for offline synchronization. It would we be a better fit.

like image 106
Amala Avatar answered Nov 10 '22 08:11

Amala


MongoDB is intended for server only use. It expects to be running in a 64-bit little-endian environment in a cluster of at least two nodes and is not particularly stable without that miniumum configuration.

like image 33
applecrate Avatar answered Nov 10 '22 09:11

applecrate