.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Difference between Web Garden and Web Farm

Posted By: Ramesh     Posted Date: December 23, 2008    Points:2   Category :ASP.Net
What the difference between web Garden and Web Farm. Please any one help to understand the concept of Web Garden and Web Farm.

Any help would be appreciated.

Author: Shashi Ray             
Posted Date: December 23, 2008     Points: 5   

A web farm is a multi-server scenario. So we may have a server in each state of US. If the load on one server is in excess then the other servers step in to bear the brunt. How they bear it is based on various models.
RoundRobin. (All servers share load equally),NLB (economical),HLB (expensive but can scale up to 8192 servers),Hybrid,CLB (Component load balancer)

A web garden is a multi-processor setup. i.e., a single server (not like the multi server above).How to implement webfarms in .Net:
Go to web.config and
you have options.
Say mode=inproc (non web farm but fast when you have very few customers).

Say mode=StateServer (only for webfarm)

Say mode=SqlServer (only for webfarm)
StateServer is faster but SqlServer is more reliable and used for mission critical applications.
How to use webgardens in .Net:
Go to web.config and webGarden="false"...>
Change the false to true. You have one more attribute that is related to webgarden in the same tag called cpuMask

Shashi Kant Ray
Author: Ramesh             
Posted Date: December 23, 2008     Points: 5   

Thanks Shashi!!!!

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend