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.

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 stackoverflow.com May 31 '12 at 10:27

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

add comment

2 Answers

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. http://www.ultramonkey.org/

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 makeuseof.com/tag/facebook-work-nuts-bolts-technology-explained –  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
add comment

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
add comment

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.