Not the answer you need?
Register and ask your own question!

Load balancing

razdamanrazdaman ContributorInactive User Role Beginner
Hi there,

I've got a website served with three web servers and a single database server. Currently we're behind our hosting centre's large and expensive hardware load balancer.

As we are currently considering switching to another hosting centre, we might get the responsibility for the load balancing ourselves in the future. Therefore, I'm currently researching the different possibilities within load balancing.

I see the following to solutions:
1) A software based load balancer.
We buy a new cheap server on which we install apache with mod_proxy_balancer (recommendations on other software are welcome). This server will point to our other web servers. What is the typical bottleneck on a machine like this? Cpu?
2) Buy a "real" hardware load balancer.
I consider this the best solution based on what I've heard from other people's experiences. However, this is also a bit more expensive I think. Can you recommend some good brands/models?

What do you think of the above proposed solution? What would you recommend? The more details you can give me the better )

Thanks in advance!

Comments

  • debugdebug Contributor Current User Role Beginner
    Hi,

    I can recommend you using Pfsense: http://pfsense.org/
    It is a software router/firewall/balancer based on FreeBSD. It is configured through web interface. We have a wide experience of using Pfsense, and it works fine.
  • manhndmanhnd Entrant Current User Role Beginner
    Hi razdaman

    I think you can use haproxy for load balancer software or squid with mode reverse.

    I was used both haproxy and squid. It's very good for your problem
  • jeromejerome Entrant Current User Role Beginner
    Hi razdaman,

    you could also give a try to Varnish : http://varnish.projects.linpro.no/.

    It does Load Balancing and is a fantastic HTTP accelerator.

    Here is a example on how to configure Varnish to do load balancing : http://varnish.projects.linpro.no/wiki/VCLExampleDirector

    )
  • debugdebug Contributor Current User Role Beginner
    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText">jerome wrote on Thu, 30 April 2009 18:46</td></tr><tr><td class="quote">
    Hi razdaman,

    you could also give a try to Varnish : http://varnish.projects.linpro.no/.

    It does Load Balancing and is a fantastic HTTP accelerator.

    Here is a example on how to configure Varnish to do load balancing : http://varnish.projects.linpro.no/wiki/VCLExampleDirector

    )
    </td></tr></table>

    I won't recommend it for production yet. Maybe a bit later..
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.