AquilaDB - A new member to the CouchDB ecosystem
jubin jose
Posted on February 16, 2020
Originally posted here: https://aquiladb.xyz/docs/replication
This feature is not stable and is only available in AquilaDB
develop
branch andbleeding
docker image.
Couch Protocol
AquilaDB integrates Couch Replication Protocol. With this design choice, AquilaDB is now being part of the whole Couch movement. It is able to communicate to any Couch variant (CouchDB, PouchDB, Cloudant etc.).
To connect AquilaDB to a Couch node and start data sync with it, you just need to configure DB_config.yml
the following way,
couchDB:
DBInstance: default # database namespace
host: /data # this will store documents within AquilaDB volume. Changing this to a remote couchDB endpoint will use that DB instead (not recommended unless you know what's happening)
user: root # username, if above host requires authentication
password: # password, if above host requires authentication
couchDBRemote:
DBInstance: default # database namespace
host: # Specify if data to be replicated from AquilaDB to a remote Couch Variant and vice versa
user: # username, if above host requires authentication
password: # password, if above host requires authentication
That's it. Everything is straight forward.
Deployment patterns
Below are some possible deployment patterns that's being enabled by Couch Protocol Integration
💖 💪 🙅 🚩
jubin jose
Posted on February 16, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.