Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm considering setting up a PerlBal as a load-balancer for our Django based (Apache) site. We don't have any SSL, and ideally I'd like to set up PerlBal to make everything as effecient as possible but minimise the setup time as I've never done it before. The docs make the install seem easy, but I couldn't determine if they support automatic server-failover detection. If one of my apache servers breaks - will PerlBal still send requests to it? Any tips and tricks for a first time PerlBal install?

share|improve this question
up vote 1 down vote accepted

Perlbal is nice and pretty easy to work with...

For server fail over, Perlbals main concept is the "verify_backend" setting, see the docs. With this Perlbal will make a HTTP Options request to the webnode, and will not route traffic to the webnode until it answers the Options request.

Regarding tips and tricks:

  • Perlbal has a nice mailing list, browse trough it first.
  • There is an optional HTTP headers module, which increases performance -- but you may not benefit from the C Headers on a lightly loaded system.
  • Since Perlbal is written in, well, Perl, be aware that it consumes some RAM.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.