couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Marshall <omarsh...@facilityone.com>
Subject Re: Peer-to-Peer Replication
Date Thu, 07 Apr 2011 18:09:01 GMT
On 04/07/2011 01:30 PM, Zdravko Gligic wrote:

> If a single local CouchDB is set up to replicated from 100 friends and
> after say some prolonged quiet period a message comes through from 1
> of the friends (who has the latest copy with all documents in it) will
> all of the subsequent 99 cause the same volume of network traffic or
> will they end up being more like "hand shakes" in which it is
> determined that none of them have anything new and that no actual data
> should be sent?

Replication looks at the current update sequence number on the database.
If the update sequence number is the same, no further traffic will occur.

See http://wiki.apache.org/couchdb/HTTP_database_API, especially the
section titled "Database Information".

-- 
Owen Marshall
FacilityONE
omarshall@facilityone.com | (502) 805-2126


Mime
View raw message