Unknown
Unknown

Reputation: 57

couchdb for /really/ distributed replica

let's say i want to implement a distributed database (each node being the replica of the others); i hear that cdb is able to easily sync between two nodes and at least support some form of conflict resolution.

unfortunately i don't know couchdb therefore i have to ask: how's the situation for a "graph" of nodes? let's say we have a thousand disconnected nodes; therefore we'll have - i think - n-way conflicts.

can couchdb mechanisms help me in this case?

otherwise one should assume that a rigid hierarchy of nodes have to be established, and this can't suffice in my case.

thanks in advance ;)

Upvotes: 1

Views: 494

Answers (1)

Zed
Zed

Reputation: 57658

As far as I know CouchDB will keep all conflicting versions of a document on all nodes. Once you resolve the conflict on one node, it will be propagated to the others. The conflict resolution must be done by your application.

Read the conflict management chapter of the CouchDB book for details.

Upvotes: 2

Related Questions