talira

Apache CouchDB

Seamless multi-primary syncing database with an intuitive HTTP/JSON API, designed for reliability

open sourceApache-2.0self-hostablefree

Apache CouchDB is a document database that stores JSON documents and attachments and is used entirely over HTTP and JSON. Its replication protocol syncs databases in any direction between servers, and with PouchDB in browsers and on phones, which makes offline-first apps possible. A cluster acts as one logical database across servers, data is stored in a crash-resistant append-only format, and Fauxton is its web admin UI. It's an Apache Software Foundation project under the Apache License 2.0.

Ways to install

Problems it solves

  • an app that keeps working offline and syncs its data when the connection comes back
  • sync data both ways between a server and many mobile devices
  • a database I can talk to with plain HTTP requests and JSON, without a driver
  • replicate the same database across several data centres that all accept writes
  • store JSON documents with attachments and query them with map-reduce views
  • a database that survives a crash or power loss without corrupting data

Features

  • HTTP/JSON API
  • multi-primary replication (Couch Replication Protocol)
  • sync with PouchDB in browsers and mobile
  • clustering with redundant storage
  • MapReduce views and a query language
  • append-only, crash-resistant storage
  • Fauxton web UI

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what Apache CouchDB does.

  1. Kinto A minimalist JSON storage service with synchronisation and sharing
  2. Couchbase Distributed JSON document database with a built-in cache, SQL++ queries, search and mobile sync
  3. MongoDB The free, source-available version of MongoDB
  4. SurrealDB A multi-model database built in Rust that unifies document, graph, relational, time-series, geospatial and key-value data
  5. Cloud Firestore A flexible, scalable NoSQL cloud database for mobile, web and server development
  6. PouchDB The JavaScript database that syncs

Compare Apache CouchDB with the top 3