Questions tagged [web-farm]

Collection of web servers or services deployed behind a load balancer. Also called a server cluster.

Collection of web servers or services deployed behind a load balancer. Also called a server cluster.

For more explanation see the links:

https://en.wikipedia.org/wiki/Server_farm

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/web-farm?view=aspnetcore-6.0

221 questions
63
votes
3 answers

Adding machineKey to web.config on web-farm sites

We (our IT partner really) recently changed some DNS for a web farmed site we have, so that the two production server have round-robin DNS switching between them. Prior to this switch we didn't really have problems with WebResource.axd files. Since…
Mark Ursino
  • 31,209
  • 11
  • 51
  • 83
22
votes
6 answers

Allowing Session in a Web Farm? Is StateServer Good Enough?

First of all to give you a bit of background on the current environment. We have a number of ASP.NET applications, all of which use session for certain aspects. We are "Load Balanced" over multiple servers due to traffic levels, however, our load…
Mitchel Sellers
  • 62,228
  • 14
  • 110
  • 173
19
votes
2 answers

Azure/web-farm ready SecurityTokenCache

Our site uses ADFS for auth. To reduce the cookie payload on every request we're turning IsSessionMode on (see Your fedauth cookies on a diet). The last thing we need to do to get this working in our load balanced environment is to implement a farm…
Jeremy Danyow
  • 26,470
  • 12
  • 87
  • 133
17
votes
1 answer

Make an ASP.NET MVC application Web Farm Ready

What will be the most efficient way to make an ASP.NET MVC application web-farm ready. Most importantly sharing the current user's information (Context) and (not so important) cached objects such as look-up items (States, Street Types, counties…
Tawani
  • 11,067
  • 20
  • 82
  • 106
14
votes
6 answers

What is the difference between Web farm and Web Garden?

What is the difference between Web farm and Web Garden?
Himadri
  • 8,600
  • 15
  • 47
  • 70
13
votes
4 answers

How to create an ASP.NET web farm?

I am looking for information on how to create an ASP.NET web farm - that is, how to make an ASP.NET application (initially designed to work on a single web server) work on 2, 3, 10, etc. servers? We created a web application which works fine when,…
Mikhail Glukhov
  • 1,809
  • 3
  • 22
  • 29
11
votes
1 answer

What is a farm, as opposed to a grid or a cluster?

I'm trying to understand does "farm" mean in computing, so that, if a farm can be exemplified as a cluster, there must be something that a farm is independently of what a cluster is. How is it different than a grid? Do these concepts have a general…
8
votes
2 answers

ASP.NET Core Data Protection on Web Farm

I have a ASP.NET Core application that uses cookie authentication and runs on web farm. The data protection keys are stored in DB. My application implements the IXmlRepository and the ASP.NET Core will call the IXmlRepository.GetAllElements to…
kklo
  • 661
  • 1
  • 8
  • 14
7
votes
1 answer

Implementing SSO in a .NET Web Farm for several e-commerce websites with WIF?

I have what I think is a fairly complicated question so I will do my best to articulate it here. I am looking for a single sign on (SSO) solution. I am aware of many of the options out there but have ruled most of them out as I add criteria that…
ooPeanutButter
  • 433
  • 2
  • 9
7
votes
0 answers

Running an Orchard CMS site behind a load balancer

I need to deploy an orchard application within a site that sits on a web farm, behind a load balancer. This seems like it would be a fairly common scenario, but I can't seem to find any guidance on how to make this work outside of Windows Azure. The…
Matt Varblow
  • 7,651
  • 3
  • 34
  • 44
7
votes
0 answers

Web-farm suitable implementation of SessionSecurityTokenCache

I need to implement SessionSecurityTokenCache in order to be able to use WIF in a load-balanced web farm. Is there a web-farm suitable (e.g. SQL based) implementation of this class that I can use, or do I really need to create my own?
Justin
  • 84,773
  • 49
  • 224
  • 367
7
votes
2 answers

In a web farm environment, should we base the system date/time to the web servers or the database server?

Assuming there are a number of load-balanced web servers in a web farm, is it safe to use the app/web server time in the application code for getting the system date/time or should we leave this responsibility to the database server? Would there be…
leypascua
  • 725
  • 1
  • 5
  • 13
7
votes
2 answers

Does editing a Web.config file trigger an overlapping recycle or a start+stop of the application pool?

I have Overlapping Recycling configured for my ASP.NET MVC site. As I understand it (from this SO question), if I Recycle the Application Pool, this will spin up a new w3wp.exe process to take up the load of the one being recycled, and only when…
sheikhjabootie
  • 7,308
  • 2
  • 35
  • 41
7
votes
3 answers

ASP.NET EventValidation fails when .NET 4.5 Framework is installed in only one server behind the load balancer

We have installed .net 4.5 Framework in one of our web servers. Our applications are targeted for .net 4.0 and run off multiple servers behind a load balancer. After the installation we get the following error message for some POST…
chrisk
  • 159
  • 4
  • 7
7
votes
3 answers

The ideal multi-server LAMP environment

There's alot of information out there on setting up LAMP stacks on a single box, or perhaps moving MySQL onto it's own box, but growing beyond that doesn't seem to be very well documented. My current web environment is having capacity issues, and so…
Brent
  • 16,259
  • 12
  • 42
  • 42
1
2 3
14 15