Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.