homepage Welcome to WebmasterWorld Guest from 54.167.238.209
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Seeking advice on load balancing servers for this website
kingoslo




msg:4400770
 4:11 am on Dec 23, 2011 (gmt 0)

Hello,

I have a small website with little load.

A friend gave me two old computers. Between them, they have 4 x 3GHz, 4GB of memory. Their OS is Ubuntu server with LAMP. At the minute I have one static IP, but I can get additional ones for 120/yr each.

The website is written in php using Symfony framework. I don't know what else is useful to mention.

I want to do load balancing in case a server goes down, or in case I want to add servers as the website scales.

The problem is I have no experience with this, but I have been told it can be done using software or DNS (and perhaps there are other ways too?)

Which approach would you recommend for me?

Thank you.

Kind regards,
Marius

 

lammert




msg:4400844
 10:05 am on Dec 23, 2011 (gmt 0)

Hi Marius,

If I understand your situation correctly you are connecting the servers over one static IP on your home or business location. In that case it is not possible to use DNS load balancing. DNS load balancing uses a unique IP address for each server where your site is located which are then at random distributed to clients. Because you have only one IP address, this is not an option.

What you can try to do is to configure one of the computers as a load balancing router which accepts all request from your outside IP address and then distributes the requests over the internal servers.

But personally I would think the effort you would put in wouldn't be worth it. Your weak point currently is the single internet line coming in and any downtime there can't be compensated by load balancing on the server side.

kingoslo




msg:4400845
 10:13 am on Dec 23, 2011 (gmt 0)

Thanks lammert, you are right.

What upgrade do I need to make on the internet lines to enable me to have spare working lines when one isn't working?

I imagine that if I phone my ISP asking for another line, it wont be useful: I imagine they will have downtime simultaniously.

What is normal procedure for small web hosts like me?

Thanks and happy xmas.

Kind regards,
Marius

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved