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

What is the best configuration for a load balanced server farm for a high demand download web page that uses php and mysql. I have servers that currently use centos with lightppd. Has anyone got experience of what software is the best etc, or a good guide.

share|improve this question

migrated from May 31 '12 at 10:27

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

I use apache for my web server and it works fine.

You have to install another package or service to acquire load balancing. I experience using heartbeat and ldirectord. Please refer here for more instructions and guides.

share|improve this answer
Thanks for that. What would someone like wikipedia or facebook use. – user1074541 May 30 '12 at 16:53
Please read this one – acecoder May 30 '12 at 16:59
I hope it will help your problem. – acecoder May 30 '12 at 17:08
Is ultra monkey a common software tool for load balancing. – user1074541 May 30 '12 at 17:39
I can't say if it is common but I find it useful because I use for a couple of years and it works fine. Aside from that, it is an opensource software. – acecoder May 30 '12 at 17:46

There is no way to answer that here. Based on the scale of the application described in your other question (now closed) a competent architect would need at least a couple of days of work to come up with an optimal solution in general terms, and at least twice as long to come up with one tailored to your operational setup - and most of that time would be spent gathering information. I wouldn't expect wikipedia or facebook to decide what their server architecture and software should be based on responses to a 3 line question on Stack Overflow / sererfault.

There are very specific reasons why lighttpd might be better than apache (and conversely) and equally for nginx. There are lots of ways to implement load balancing. And there are a number of choices for which database to use (even if you waent to stick with MySQL, you could get your MySQL server from Oracle, MariaDB or Percona).

If one "software is the best" then there wouldn't be so many to choose from.

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.