Strategies to sync mongoDB and couchDB
问题 What are some strategies to sync data between these two? The current scenario is a web app that works with MongoDB, mongoose and node, and a mobile app that uses pouchDB and syncs against CouchDB server, but how can MongoDB server and CouchDB server be in sync when data changes in any of them? I tried with some trigger when something changes in any of them, but it would be an infinite cycle because: MongoDB DocX changes --> CouchDB update DocX ---> MongoDB update DocX because it changed in