473,480 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Web Farm/Web Garden

Hi
What is difference between web farm and web garden?

What i understand so far
Web Farm
Multi Server Environment
Support Session share
Application object not supported
Caching not recommended (??)
What about Page Cache (??)

Web Garden
Multi-Processor Scenario

Rest same as Web Farm

Expert Comments Expected
Regards
Steve

Nov 18 '05 #1
3 9973
Web garden scenarios, IMHO, are quite uncommon. I havent found anything yet
that a solid server with enough RAM cannot handle.

To me, the only thing to really watch is how you configure webgardens, and
manage session state. In IIS5 you need to modify the machine.config files so
your application can support webgardens (the webgarden and cpumask
attributes). In IIS6 you can modify these settings on a per-application pool
basis using the MMC.

When you implement web gardens, each of the asp.net processes has its
processor affinity assigned to a specific processor. This can result in
sessions values apperaing lost, or empty. Using the session state service or
SQL Server to manage your sessions is better in this case, as both serve as
a single session repository.

In web farming, application objects *are* supported. They haveto be
implemented, though, using either state service or SQL Server for the
reasons mentioned above (single session storage).

You can implement caching for web farms, gardens, etc. under any scenario
using page output caching (varybyparam attribute). This should handle your
page cache question. I have implemented caching, both data and page, on a 5
server web farm without any problems.

With a web farm, you will have to change each machine's machineKey attribute
under machine.config. These must match so each application's viewstate
requests match (otherwise you'll get corrupt ViewState errors). MS has a KB
that applies to the above scenario (and source for an executable that will
build new hash keys) at
http://support.microsoft.com/default...oduct=NETFrame.

MSDN has a lot more detail for your other questions than I could ever
provide to you. but I hope this helps to start.



"Steve" <St***@discussions.microsoft.com> wrote in message
news:1a****************************@phx.gbl...
Hi
What is difference between web farm and web garden?

What i understand so far
Web Farm
Multi Server Environment
Support Session share
Application object not supported
Caching not recommended (??)
What about Page Cache (??)

Web Garden
Multi-Processor Scenario

Rest same as Web Farm

Expert Comments Expected
Regards
Steve

Nov 18 '05 #2
Dear All

Can we maintain session accross the webapplication, if so pls help me to do?

(i.e) = I have 2 webapplication namely http://localhost/webapp1 ,
http://localhost/webapp2

Can I use the session created in http://localhost/webapp1 in
http://localhost/webapp2

Pls Help me...
Millions of thanx in advance

--
Thanx
Gopal Prabhakaran

"Elliot M. Rodriguez" <someemail> wrote in message
news:O$**************@TK2MSFTNGP10.phx.gbl...
Web garden scenarios, IMHO, are quite uncommon. I havent found anything yet that a solid server with enough RAM cannot handle.

To me, the only thing to really watch is how you configure webgardens, and
manage session state. In IIS5 you need to modify the machine.config files so your application can support webgardens (the webgarden and cpumask
attributes). In IIS6 you can modify these settings on a per-application pool basis using the MMC.

When you implement web gardens, each of the asp.net processes has its
processor affinity assigned to a specific processor. This can result in
sessions values apperaing lost, or empty. Using the session state service or SQL Server to manage your sessions is better in this case, as both serve as a single session repository.

In web farming, application objects *are* supported. They haveto be
implemented, though, using either state service or SQL Server for the
reasons mentioned above (single session storage).

You can implement caching for web farms, gardens, etc. under any scenario
using page output caching (varybyparam attribute). This should handle your
page cache question. I have implemented caching, both data and page, on a 5 server web farm without any problems.

With a web farm, you will have to change each machine's machineKey attribute under machine.config. These must match so each application's viewstate
requests match (otherwise you'll get corrupt ViewState errors). MS has a KB that applies to the above scenario (and source for an executable that will
build new hash keys) at
http://support.microsoft.com/default...&Product=NETFr
ame.
MSDN has a lot more detail for your other questions than I could ever
provide to you. but I hope this helps to start.



"Steve" <St***@discussions.microsoft.com> wrote in message
news:1a****************************@phx.gbl...
Hi
What is difference between web farm and web garden?

What i understand so far
Web Farm
Multi Server Environment
Support Session share
Application object not supported
Caching not recommended (??)
What about Page Cache (??)

Web Garden
Multi-Processor Scenario

Rest same as Web Farm

Expert Comments Expected
Regards
Steve


Nov 18 '05 #3
It is possible, but IMHO its not a good idea.

Someone did this modifying the SQL Server script that builds the
ASPSessionState database (so this only works with SQL Server session state),
and I dont know how it works, but this is the only thing I found on it:

http://www.codeproject.com/useritems...sion_state.asp

"Gopal Prabhakaran" <pr*******@takescm.com> wrote in message
news:O3*************@TK2MSFTNGP12.phx.gbl...
Dear All

Can we maintain session accross the webapplication, if so pls help me to do?
(i.e) = I have 2 webapplication namely http://localhost/webapp1 ,
http://localhost/webapp2

Can I use the session created in http://localhost/webapp1 in
http://localhost/webapp2

Pls Help me...
Millions of thanx in advance

--
Thanx
Gopal Prabhakaran

"Elliot M. Rodriguez" <someemail> wrote in message
news:O$**************@TK2MSFTNGP10.phx.gbl...
Web garden scenarios, IMHO, are quite uncommon. I havent found anything yet
that a solid server with enough RAM cannot handle.

To me, the only thing to really watch is how you configure webgardens, and manage session state. In IIS5 you need to modify the machine.config files so
your application can support webgardens (the webgarden and cpumask
attributes). In IIS6 you can modify these settings on a per-application pool
basis using the MMC.

When you implement web gardens, each of the asp.net processes has its
processor affinity assigned to a specific processor. This can result in
sessions values apperaing lost, or empty. Using the session state

service or
SQL Server to manage your sessions is better in this case, as both serve as
a single session repository.

In web farming, application objects *are* supported. They haveto be
implemented, though, using either state service or SQL Server for the
reasons mentioned above (single session storage).

You can implement caching for web farms, gardens, etc. under any

scenario using page output caching (varybyparam attribute). This should handle your page cache question. I have implemented caching, both data and page, on a 5
server web farm without any problems.

With a web farm, you will have to change each machine's machineKey attribute
under machine.config. These must match so each application's viewstate
requests match (otherwise you'll get corrupt ViewState errors). MS has a

KB
that applies to the above scenario (and source for an executable that

will build new hash keys) at

http://support.microsoft.com/default...&Product=NETFr ame.

MSDN has a lot more detail for your other questions than I could ever
provide to you. but I hope this helps to start.



"Steve" <St***@discussions.microsoft.com> wrote in message
news:1a****************************@phx.gbl...
Hi
What is difference between web farm and web garden?

What i understand so far
Web Farm
Multi Server Environment
Support Session share
Application object not supported
Caching not recommended (??)
What about Page Cache (??)

Web Garden
Multi-Processor Scenario

Rest same as Web Farm

Expert Comments Expected
Regards
Steve



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1594
by: LearninGuru | last post by:
Hi Folks, I am creating a web service that will be hosted on a web farm. The web service also uses sessions to store user specific data. I have the following doubts about session timeout in a...
5
5143
by: Dominic | last post by:
My question is about how to maintain view state in mobile ASP.NET across postback / request in a web farm environment. First of all, let's assume the web-farm does NOT use stick-session feature....
1
9588
by: Dominic | last post by:
I'd like to tune the performance of my application in a web garden. Our server has dual processors. Is there any guideline to set this "maximum number of worker processes" for web garden? In my...
0
2139
by: domtam | last post by:
Hi everybody, As far as I understand, each worker process in a web garden (say, in IIS 6.0) has its own copy of Cache objects, static objects and Application(state) objects. In other words, they...
5
3158
by: Benny | last post by:
I have a ASP.NET webservice and it is configured to run in a web garden with multiple processes. Whan a process in the garden is launched, I want the process to create a background thread. When...
2
1705
by: Gery D. Dorazio | last post by:
If a system consists of either a web farm or web garden does each of the servers in the farm/garden have its own Global Assembly Cache? Please suggest some helpful documentation on this topic if...
2
2730
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
My employer has need to setup a Load Balanced Web Farm for some mission critical ASP.NET Web Services and I was wondering if the only way to accomplish this was to purchase Microsoft's ISA Server...
5
4552
by: Cramer | last post by:
I think I understand *what* a Web garden is (app running on a server with multiple processors). But what's the benefit? I have googled this and have found only articles that describe WHAT and HOW...
3
2952
by: latif87 | last post by:
An example of how the XML file is structured: <xml> <farm name="NAME1"> <size x="INTEGER1" y="INTEGER2" /> <neighbor name="NAME2" /> <crop name="PLANT" area="INTEGER3" /> <crop … /> … </farm>...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7061
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7110
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5367
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3015
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
210
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.