N
newjazzharmony
All,
I'd appreciate it if someone could answer these questions for me.
This scenario applies to an ASP dot net application that is deployed in
a web farm.
1) Does the application live in a separate app domain on each
webserver in the farm?
2) Does each webserver's version of the application have its own
Application_Start and Application_End event
3) If I implement a static member variable as singleton in a class and
reference that class in the Web Application, does that mean there will
be a separate copy of this variable on each webserver?
4) What are the pros and cons of using each of the following two
methods to store one instance of an object per web server (I'm assuming
that the answers to 1, 2, and 3 are "yes"):
a) Storing the object in ApplicationState
b) Implementing a static member variable as a singleton as
described above
Thanks!
-Jonathan
I'd appreciate it if someone could answer these questions for me.
This scenario applies to an ASP dot net application that is deployed in
a web farm.
1) Does the application live in a separate app domain on each
webserver in the farm?
2) Does each webserver's version of the application have its own
Application_Start and Application_End event
3) If I implement a static member variable as singleton in a class and
reference that class in the Web Application, does that mean there will
be a separate copy of this variable on each webserver?
4) What are the pros and cons of using each of the following two
methods to store one instance of an object per web server (I'm assuming
that the answers to 1, 2, and 3 are "yes"):
a) Storing the object in ApplicationState
b) Implementing a static member variable as a singleton as
described above
Thanks!
-Jonathan