> On Apr 30, 2015, at 8:59 AM, Daniel McGreal <[email protected]> wrote: > > Could you elaborate a little on how this would be achieved (links to > documentation/terminology to search for appreciated also).
CouchDB is at http://couchdb.apache.org <http://couchdb.apache.org/>. It's the architectural ancestor of CBL and SG — they're implemented differently and the feature sets have diverged, but the core of the document model and replication protocol come from CouchDB, and all three will replicate with each other. The CouchDB replicator can be pointed to two external databases and will replicate from one to the other. So you could for example POST to /_replicate with a JSON body like {"source": "http://europe.example.com/db <http://europe.example.com/db>", "target": "http://asia.example.com/db <http://asia.example.com/db>", "continuous":true} and it would replicate from the source SG database to the target. (Then you'd create a second replication going the other way, probably.) For deployment you'd probably want to use persistent replications, which are described in the CouchDB docs. The setup is slightly different. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/A4C6DB53-98D4-41DB-8EE6-461CB1F9AACF%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
