couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanley Iriele <siriele...@gmail.com>
Subject Re: Bigcouch without ha proxy
Date Sun, 02 Mar 2014 21:36:42 GMT
Right... But if I was using couchdb behind my app servers.... I would like
to have something like mongos... That does the load balancing without the
hop. Because in my opinion big couch shards better I feel having a dumb
proxy do this can't be that hard
On Feb 25, 2014 2:32 PM, "Lists" <lists@benjamindsmith.com> wrote:

> On 02/25/2014 11:25 AM, Stanley Iriele wrote:
>
>> So in clustering couchdb everyone recommends haproxy but I do t want to
>> pay
>> the price for an extra hop. Is there a better solution out there?.. I'm
>> thinking of pulling they keyspace doc in myself and just have a collection
>> of http clients connecting to different nodes.
>>
>> My question is is the extra hop really that irrelevant ?... Or is their
>> and
>> obvious load balancing trick I'm missing?
>>
>>
> The extra overhead of the extra hop is pretty much irrelevant for anything
> Internet-based. The reason is that the end user will see at *best* about
> 20ms to you, and haproxy won't even add 1. Since the "typical user"** will
> see more like 50ms, the 0.1ms or so of overhead in a proxy is irrelevant if
> it gives you better uptime.
>
>
> ** YMMV. You should know your audience. Are they on a LAN and also burning
> through thousands of queries per second?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message