Search

 

 

New Page 1 New Page 1

Informative Articles

Asset Searching for Recovery Actions - The Decision Maker’s Most Critical Tool – Part 1
As certified fraud examiners (CFE), we all know the nuts and bolts of our respective areas of specialty, and hopefully, we are all growing professionally at an astounding pace. Crime does, unfortunately, pay – just not for the criminal. After...

How To Backup Your Hard Drive
We all know that we should back up our system as soon as possible. But if you're like most of us, you will get to it tomorrow. The problem is that tomorrow rarely ever comes until you experience a serious computer failure and then it’s too late....

Protecting Your Identity On The Internet
Afraid that someone is monitoring your PC or installed a keylogger to record every single keystroke? Find out which tools you need to get to make sure you are protected. X-Cleaner Deluxe http://www.deprice.com/xcleanerdeluxe.htm X-Cleaner is a...

Ready For A Business Recovery?
Ready For A Business Recovery? by Robert A. Kelly Who wants to face the challenges of a business recovery without a ton of firepower? Especially when getting your piece of the action almost certainly depends upon how well you modify the...

Your Hard Drive is Going to Explode – Why a UPS is Essential
It’s most peoples worst computing nightmare. You wake up in the morning, flip on the computer, and it doesn’t boot. Sometimes the problem rears its ugly head as a horrific clacking noise. Other times it simply gives a read error. At this point,...

 
Webfarms II: Balancing The Load.

Okay, so you understand webfarms now. What's the magic that actually distributes the load, and how does it determine how the distribution is handled?

At ORCS Web we use the Foundry Server Iron products to perform our webfarm load-balancing. If one of them fails, the other instantly takes over (In our testing, it had sub-second fail-over!)

So what is this "Server Iron" thing? In simplest terms, it's a layer 4-7 switch. It has multiple network ports on it and can be used literally like other types of switches. But, it can also load-balancing and traffic distribution. A VIP (virtual IP) can be assigned to the SI (Server Iron) and it then handles all traffic sent to that address/VIP. Further configuration is done to tell the SI what to actually do with the traffic sent to the VIP address.

The traffic that hits the VIP on the Server Iron is of course redistributed to a number of server nodes so the client request can be satisfied - that's the whole point of a webfarm. If one or more server nodes are not responding, the switches are able to detect this and send all new requests to servers that are still online - making the failure of a server node almost transparent to the client.

The traffic can be distributed based on a couple different logic algorithms. The most common are:

* Round Robin: The switches send requests to each server in rotation, regardless of how many connections each server has or how fast it may reply.

* Fastest response: The switches select the server node with the fastest response time and sends new connection requests to that server.

* Least connections: The switches send traffic to whichever server node shows as having the fewest active connections.

* Active-passive: This is called Local/Remote on a Foundry switch, but is still basically active/passive. This allows one or more servers to be designated as "local" which marks them as primary for all traffic. This is combined with

Associated Websites

Associated Websites

 

Our Blogs are on UK small business and being a UK freelancer or contractor as well as website marketing and web design. If you are a biker we can help with your motor bike insurance.

 

We have a site for contractors  and sites for HomeloansUK and PR-Help. We provide Branding help and offer Free-Marketing-Help and help for IT contractors. For E-commerce information, visit Small-Business-Web. We offer Page Rank Web Links and Cheap Home Loans Direct plus 0-BadDebtLoans and more Cheap Home Loans Direct. Our sites also help with Negotiation of any Personal-Secured-Loans. Our site called Management-Today can help you Innovate-Today, but for more loans go to 1st4HomeLoans.

 

Our HomeLoansUK site is affiliated with Branding and TrafficBuilding sites and Sales technique site. Also on offer is Beauty-Online and FreeNetDesign. If you are a  contractor and need help with a Small-Business-Web then our E-Commerce site is great. If you want Easy-Mortgages or even 1st-4-Tenant-Loans go to 5-Star-Mortgages. We help find Cheap Kitchen Appliances and Low Rate Home Loans. For the IT contractor, EstuaryFinance can refer you to our Online IR35 Compliance site for help with IR35.


another method above to determine what order the "local" server nodes have requests sent to them. If a situation were to arise that all the "local" (active) server nodes were down, then traffic would be sent to the "remote" server nodes. Note that "remote" in this case doesn't really have to mean remote - the "remote" server could be sitting right next to the "local" servers but it is marked as remote in the configuration to let it operate as a hot-standby server. This setting can also be used in a true remote situation where there are servers in a different physical data center - perhaps for extreme disaster recovery situations.

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 of the configuration. Especially if you are closely monitoring each server node with an external tool (other than directly from the load-balancing switch). So, with the 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 to the other nodes. And when a node comes back online, it can automatically be placed back into the 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.

About the Author

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.