Webfarms II: Balancing The Load.

Written by Brad Kingsley


Continued from page 1

What method is best? It really depends on your application and some other surrounding factors. Each method is good though and would probably satisfy requirements regardless ofrepparttar configuration. Especially if you are closely monitoring each server node with an external tool (other than directly fromrepparttar 134344 load-balancing switch). So, withrepparttar 134345 external monitoring you can confirm that all server nodes are operating without error and within reasonable speed thresholds that have been set.

Also, remember that, regardless which traffic algorithm is chosen, if a node goes down, traffic is sent torepparttar 134346 other nodes. And when a node comes back online, it can automatically be placed back intorepparttar 134347 webfarm and start getting client requests again.

Clustered hosting does require some consideration of how state is managed within applications, which will be covered in a future article.

Happy hosting!

~Brad

Brad Kingsley is President and Founder of ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.

Brad Kingsley is President and Founder of ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.


Webfarms: The Only Way To Host!

Written by Brad Kingsley


Continued from page 1

* Round-robin: Each node gets a request sent to it "in turn". So, node1 gets a request, then node2 again, then node1, then node2 again. * Least Active: Whichever node shows to haverepparttar lowest number of current connects gets new connects sent to it. This is good to help keeprepparttar 134343 load balanced betweenrepparttar 134344 server nodes. * Fastest Reply: Whichever node replies faster isrepparttar 134345 one that gets new requests. This is also a good option - especially if there are nodes that might not be "equal" in performance. If one performs much better thanrepparttar 134346 other, why not send more requests there?

In any of these scenariosrepparttar 134347 switch will also detect if a node were to fail. So, if svr1.orcsweb.com was taken offline for maintenance - or it had a critical failure -repparttar 134348 switch would detect that and only send traffic to svr2.orcsweb.com. And sincerepparttar 134349 clients always accessrepparttar 134350 site viarepparttar 134351 main URL (notrepparttar 134352 node names) they have no idea that one ofrepparttar 134353 nodes is down -repparttar 134354 application continues to serve client requests seamlessly.

Besides high-availability (continuing to satisfy requests during a failure), a webfarm also gives an application a higher level of scalability -repparttar 134355 ability to handle more and more load. If load increased onrepparttar 134356 application torepparttar 134357 point where performance started to degrade, more nodes could be added torepparttar 134358 webfarm (again, without clients noticing), givingrepparttar 134359 ability to handle potentially unlimited levels of traffic (just keep adding nodes!).

Of course there are a lot of factors surroundingrepparttar 134360 proper support of a webfarm -repparttar 134361 switches, fail over between switches (don't letrepparttar 134362 switch be a single point-of-failure!), replication of content, synchronization of server changes, synchronization of application changes, etc, etc.. But a good system administrator (or experienced hosting company) can help address all of these issues for you.

Byrepparttar 134363 way, I need to slip in a plug for a related service we offer :-) Webfarm hosting starting as low as $199/month! Check it out at: http://www.orcsweb.com/WebFarm.aspx

Hopefully this has been a good introduction to webfarms for you, and hopefully I've properly communicated enough ofrepparttar 134364 benefits for you to consider this as a hosting option for yourself. Withrepparttar 134365 rates now down to affordable levels - why not get this additional layer of protection?

Happy hosting!

~Brad

Brad Kingsley is President and Founder of ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.

Brad Kingsley is President and Founder of ORCS Web, Inc. - a company that provides managed hosting services for clients who develop and deploy their applications on Microsoft Windows platforms.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use