Couchdb Sync Online Sync

I am creating a .NET application that will have a local CouchDB instance into which all data is written, and a central CouchDB with which the local CouchDB is synchronized. The difficulty is that there will be several clients that will synchronize with the database at different points (and can edit existing data, creating conflicts). The Internet connection will not be consistent, therefore, therefore, most of the data will be created / edited offline.

I believe that CouchDB does this at its core, but it's hard for me to understand if I have to work with _changes or _replicator functions — or a combination. I'd love a few pointers on how to handle this scenario.

+1
source share
1 answer

Couchdb will detect conflicts for you, however it is not responsible for handling these conflicts. The following is a description of the couchdb conflict model and several ways to design a replication application.

_changes , . , , . , , _replication . _replication , , .

continuous , .

, , , _changes. , , , , API, , .

, replication - , .

+2

Source: https://habr.com/ru/post/1618568/


All Articles