incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <...@jsonified.com>
Subject Re: Simple load-balancing replication best practices
Date Fri, 05 Oct 2012 00:48:22 GMT
On 4 October 2012 23:47, Steve Koppelman <steve.koppelman@gmail.com> wrote:
> On Thu, Oct 4, 2012 at 3:52 PM, stephen bartell <snbartell@gmail.com> wrote:
>
>> >>  1. Is there harm in this sort of cluster to have all members to pull
>> >> from one another, i.e., all of
>> >> A->B
>> >> A->C
>> >> B->A
>> >> B->C
>> >> C ->A
>> >
>> > Multimaster Meshed Magic :-)
>>
>> … only if _id's are unique.
>> AFAIK, you need to address conflict resolution if _ids are similar.
>>
>
> Good point there, since some of the databases have app-generated _ids,
> which is fine on a single master, not necessarily so fine when moving to a
> setup with distributed writes.

Then add something like the first 5 chars of md5 of the hostname or similar.
 Or use bigcouch.

A+
Dave

Mime
View raw message