开发者

couchdb for /really/ distributed replica

let's say i want to implement a distributed database (each node being the replica of the others); i h开发者_如何学JAVAear 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 ;)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜