Difference between "web farms" and "web garden", DOT NET Programming

Assignment Help:

What is the difference between "Web farms" and "Web garden"?

The "Web farms" are used to have some redundancy to reduce the failures. It consists of two or more web server of the similar configuration and they stream the similar kind of contents. Whenever any request comes there is a switching / routing logic which decides which web server from the farm handles the request. For instance we have2 servers "Server1"

And "Server2" which have the similar configuration and content. So there is a special switch which stands in between these two servers and the users & routes the request accordingly.

1962_Web farm.png

Figure : - Web Farm in action

The Above figure describes in detail how the web farm work. You can see that there is a router in between which takes a request and sees which one of the server is least loaded and forwards the request to the server. So for the request1 it route's server1, for request2 it routes server2, for request3 it routes to server3 and final request4 is routed to server4. So you can see as we have web farm at place server1 and server2 are loaded with two request each rather than one server loading to full. One more merit of using this kind of architecture is if one of the servers goes down we can still run with another server thus having 24x7 uptime.

The routing logic can be a number of various options:-

1)Round-robin: In this Each node gets a request sent to it "in turn". And hence  , server1 receives  a request, then server2 again, and then server1, then server2 again.

2)Least Active: In this Whichever node show to have the lowest number of current connects receives  new connects sent to it. This is very good  way to help to keep the load balanced between all the server nodes.

3)Fastest Reply: In this Whichever node replies faster is the one that gets the new requests. This is also a very good option - especially if there are nodes that might not be "equal" in performance. If anyone performs better than the another, then send more requests there rather than which is moving slowly?

Before we try to understand what a web garden is let's try to understand how IIS handles all processes. The requests to the IIS are routed to an "aspnet_wp.exe" for IIS 5.0 and "w3wp.exe" for IIS 6.0. In general without the web garden we have one worker process instance ("aspnet_wp.exe" / "w3wp.exe") across all requests. This one instance of the worker process uses the CPU processor as directed by  operating system.

150_web garden.png

Figure: - With out Web Garden

But whenever we enable the web garden for a web server it creates various instances of the worker process and each of these worker processes runs on various CPU. You can see in the diagram given below we have different worker process instances created which run on varoius CPU's.

2104_web garden1.png

Figure  : - With Web Garden

In brief we can define a model in which multiple processes run on the multiple CPUs in a single server machine are defined as a Web garden.


Related Discussions:- Difference between "web farms" and "web garden"

Web application for australian football league, 1  Assignment Description  ...

1  Assignment Description   This is an individual assignment. Students are referred to the Faculty's policy on plagiarism.  In this assignment you will build a prototype of a si

We want help in asp.net mvc developer, We want help in ASP.NET MVC Develope...

We want help in ASP.NET MVC Developer I want an expert ASP.NET MVC, C#,LINQ, SQL Server2012, JQuery, Angular JS, Bootstrap Responsive UI developer for more 6+ months. Desired

Hwid spoofed for windows 7, HWID Spoofed for Windows 7, 8 x64 Project De...

HWID Spoofed for Windows 7, 8 x64 Project Description: I require a simple program that will spoof my hardware id. I could be able to write the id to spoof to in the program a

#title., what are major difference between classic ADO &ADO.NET?

what are major difference between classic ADO &ADO.NET?

Record processing system, Your first assignment will require you to develop...

Your first assignment will require you to develop a record processing system in both ASP and PHP, giving you an opportunity to see two modern web scripting languages in action.

Different types of DOT NET programming, Could you please explain to me the ...

Could you please explain to me the different types of DOT NET programming

I want junior programmer, Project Description: I have various C# support...

Project Description: I have various C# support projects and no time, so I'm seeking for a junior programmer to help out. This intro project is a C# module to develop the UI a

Different types of caching using in asp.net, What are different types of ca...

What are different types of caching using in ASP.NET? You can use 2 types of output caching to cache information which is to be transmitted to and displayed in a Web browser:

DESIGN CALENDAER, HOW TO DESIEN THE CALENDER IN ASP . NET

HOW TO DESIEN THE CALENDER IN ASP . NET

Asp .net mvc tutor, ASP .NET MVC Tutor Project Description: Work with...

ASP .NET MVC Tutor Project Description: Work with me and assist with troubleshooting lessons, describe in easy to understand terms how to accomplish certain tasks, provide co

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd