Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Nov 15, 2008 4:47 pm 
Offline
Newbie

Joined: Sat Nov 15, 2008 4:13 pm
Posts: 2
What are the best ways to load balance larger sites with linodes?

In the past I've used a pair of BIG IP F5's with one as a hot failover partner to balance 4 http and 2 mysql servers. I am now looking to expand capacity further and want to consider linodes in place of growing my own setup.

Is the only way to load balance with linodes to have nodes (light-weight?) acting as linux-director load balancers then http and mysql nodes behind them as needed? What are other linode users doing for this type of scaling? All I can find mentioned in the forums is about separate production vs development servers and separate servers for different services or content type.

Will linodes physically host hardware like load balancers, vpn/firewall pix's, etc?


Top
   
 Post subject:
PostPosted: Sun Nov 16, 2008 2:08 am 
Offline
Junior Member

Joined: Wed May 21, 2008 5:34 am
Posts: 46
Website: http://www.eve-razor.com/forum
Location: Austin, Tx
I have been using mod_proxy to randomly load balance between 2 linodes, but this ofc it not real load-sharing.


Top
   
 Post subject:
PostPosted: Sun Nov 16, 2008 4:46 am 
Offline
Junior Member

Joined: Sun Nov 16, 2008 4:35 am
Posts: 38
Linode's offerings are limited to virtual machines running Linux right now; they don't colo customer hardware.

You'd have to either use one or more front-end Linodes running whatever software load-balancing solution is appropriate for your case, or go for DNS round-robin.

However, if your site is actually big enough right now to justify redundant hardware load balancers and six physical servers, I'd hesitate to recommend using Linodes without knowing more about your specific application. Remember, these are basically slices of a physical host; you're saying you already use six *full* physical boxes.


Top
   
 Post subject:
PostPosted: Sun Nov 16, 2008 7:45 pm 
Offline
Junior Member
User avatar

Joined: Wed Mar 19, 2008 10:34 pm
Posts: 32
Website: http://www.claws-and-paws.com/
WLM: doug.muth@gmail.com
Yahoo Messenger: dmuthathome
AOL: Dmuth+At+Home
Location: Ardmore, PA
You can do software-based load balancing via nginx, as per this example:

http://wiki.codemongers.com/NginxLoadBalanceExample


Top
   
 Post subject:
PostPosted: Mon Nov 17, 2008 5:10 am 
Offline
Senior Member

Joined: Fri Feb 17, 2006 9:47 pm
Posts: 91
mod_proxy_balancer for apache is rubbish, I would say don't use it. nginx and it's load balancing can take many more requests per second, and if you don't want to use that I would suggest haproxy instead, both of these can be used without round robin proxying which is crucial to performance under load.


Top
   
 Post subject:
PostPosted: Thu Nov 20, 2008 3:35 pm 
Offline
Newbie

Joined: Sat Nov 15, 2008 4:13 pm
Posts: 2
in response to nknight:

I'm not sure that linodes will be the best in the end for standard content delivery, as you are right I am using multiple full machines already.

I'm more interested in using them primairily for failover purposes.
I'd also like to try using linodes over a vpn to add additional capacity during unusual peak times, etc.

Also, as my 'full' machines are only dell 1750s, 2x 2.3Ghz, 2GB ram, and scsi with raid on the dbs only, I am really not sure that their linode node slices might not compare better when you eliminate hsoting charges, hardware upgrades and fixes, etc.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group