Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AEB79B45 for ; Thu, 27 Oct 2011 17:14:25 +0000 (UTC) Received: (qmail 83002 invoked by uid 500); 27 Oct 2011 17:14:23 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 82909 invoked by uid 500); 27 Oct 2011 17:14:23 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 82901 invoked by uid 99); 27 Oct 2011 17:14:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 17:14:23 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yixiaoshen87@gmail.com designates 209.85.220.52 as permitted sender) Received: from [209.85.220.52] (HELO mail-dy0-f52.google.com) (209.85.220.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 17:14:17 +0000 Received: by dyf39 with SMTP id 39so202700dyf.11 for ; Thu, 27 Oct 2011 10:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HwrtzG5NJUj0ZemJ+7ILEG0Ko9c5K8af5SoFkHu91Bg=; b=p26zl1jRxYqSIGxKhSSrynX4PA12pAeWD9TzcvvrVRr1+UbiaojS/Zb7eDxOxNupQk 3r4ZiuXd1rPH6jNHMWBPF7vrfB5P1aLqUHJUtZslo/dsp7XaQBZlmxUbrJN3+ZMPQSaJ Oz9SepZigzHkdr2UDi49OaF47bKCe2+AvwKg8= MIME-Version: 1.0 Received: by 10.182.124.9 with SMTP id me9mr6673109obb.1.1319735636028; Thu, 27 Oct 2011 10:13:56 -0700 (PDT) Received: by 10.182.75.9 with HTTP; Thu, 27 Oct 2011 10:13:56 -0700 (PDT) In-Reply-To: References: <4EA98E0B.2020702@gmail.com> Date: Thu, 27 Oct 2011 13:13:56 -0400 Message-ID: Subject: Re: BigCouch load balancer From: YIXIAO SHEN To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=f46d0444ed19c86dc204b04ae59f X-Virus-Checked: Checked by ClamAV on apache.org --f46d0444ed19c86dc204b04ae59f Content-Type: text/plain; charset=ISO-8859-1 Thanks On Thu, Oct 27, 2011 at 1:02 PM, Robert Newson wrote: > You could try HAProxy: http://haproxy.1wt.eu/ > > B. > > On 27 October 2011 17:59, CGS wrote: > > Hi Yixiao, > > > > If you have a clustering software, just read the documentation (I am sure > > you will see round-robin there). If you don't have any clustering > software, > > well, I don't know if BigCouch has any, but to create one it's not > something > > one can attach to a post (at least I wouldn't because I have no > information > > about your cluster). You can have an idea of what is round-robin from the > > wikipedia for example (http://en.wikipedia.org/wiki/Round-robin at > computing > > and http://en.wikipedia.org/wiki/Round-robin_scheduling). Mainly it's > about > > dividing your flux of incoming data into pieces and distributing them in > a > > circular way to all the nodes (just to describe the strategy in simple > > words). > > > > Cheers, > > CGS > > > > > > > > > > On 10/27/2011 06:17 PM, YIXIAO SHEN wrote: > >> > >> Hi all, > >> > >> Has anyone used BigCouch to build CouchDB clusters? I'm following > BigCouch > >> readme to do so, and I'm stuck here: > >> > >> 'Because every node can handle requests equally, you may want to put a > >> load > >> balancer in front of the cluster and set up a round-robin strategy for > >> distributing incoming requests across all of your cluster's nodes' > >> > >> I don't have any idea of how to put a load balancer, could anyone kindly > >> tell me how to do so? Thanks, > >> > >> yixiao > >> > > > > > --f46d0444ed19c86dc204b04ae59f--