unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Pierre <oct@fotopedia.com>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Unicorn and HAProxy, 500 Internal errors after checks
Date: Wed, 1 Dec 2010 18:02:35 +0100	[thread overview]
Message-ID: <AANLkTim9DNywofPuFMqD-Lkk_Cnm-tm9=h4QoO37RVEc@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=uRcEpiOfLOgSLrrR8F9jAJMpfzXiYk3+Ra+-s@mail.gmail.com>


> Any specific reason you're using HAProxy for Unicorn?

Indeed, we have two front load-balancers instances running HAProxy and
several backends running Unicorns. We use HAProxy to amortize part of
the load and load-balance / failover between all the backends. We
especially use the leastconn feature of HAProxy that ensure that the
less powerful backends are queried less often. As we run on EC2
virtual machines, this feature has the please to help us maintaining a
good QoS.

Pierre <oct@fotopedia.com>
Server Shepherd at http://www.fotopedia.com/
Unicorn mailing list - mongrel-unicorn@rubyforge.org
Do not quote signatures (like this one) or top post when replying

  reply	other threads:[~2010-12-01 17:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 11:59 Unicorn and HAProxy, 500 Internal errors after checks Pierre
2010-12-01 16:12 ` Clifton King
2010-12-01 17:02   ` Pierre [this message]
2010-12-01 16:52 ` Eric Wong
2010-12-01 17:14   ` Pierre
2010-12-01 19:58     ` Eric Wong
2010-12-02  0:42       ` Lawrence Pit
2010-12-02  4:59         ` Eric Wong
2010-12-02  8:38       ` Pierre
2010-12-02 17:39         ` Eric Wong
2010-12-03  8:41           ` Pierre
2010-12-04 23:38             ` Eric Wong
2010-12-05  1:04               ` russell muetzelfeldt
2010-12-06 18:39                 ` Eric Wong
2010-12-02 17:41     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTim9DNywofPuFMqD-Lkk_Cnm-tm9=h4QoO37RVEc@mail.gmail.com' \
    --to=oct@fotopedia.com \
    --cc=mongrel-unicorn@rubyforge.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).