.net and load balancing 
Author Message
 .net and load balancing

I've heard that web forms are going to be so much better than web classes
but I'm skeptical. For one thing, web forms still seem to use the session
object to manage state. That does not scale particularly well. You could not
use such a method in a load balanced environment because the each request
has to be routed to the same machine. The one that has the session object in
memory. Maybe I just haven't come across the correct documentation. Can
anyone tell me if Microsoft has addressed or plans to address this
limitation?

jc



Sun, 04 Apr 2004 11:38:23 GMT  
 .net and load balancing
whats goin on
this probably isnt an appropriate reply but just for your info you may want
to look into Stateful Session EJB's
personally i am a big proponent of MS technologies but i think theyre
lacking a lot of core functionality when it comes to App servers and
enetrprise Components
check it out

Saurabh


Quote:
> I've heard that web forms are going to be so much better than web classes
> but I'm skeptical. For one thing, web forms still seem to use the session
> object to manage state. That does not scale particularly well. You could
not
> use such a method in a load balanced environment because the each request
> has to be routed to the same machine. The one that has the session object
in
> memory. Maybe I just haven't come across the correct documentation. Can
> anyone tell me if Microsoft has addressed or plans to address this
> limitation?

> jc



Wed, 07 Apr 2004 06:47:44 GMT  
 .net and load balancing
What are "Stateful Session EJB's"?

jc


Quote:
> whats goin on
> this probably isnt an appropriate reply but just for your info you may
want
> to look into Stateful Session EJB's
> personally i am a big proponent of MS technologies but i think theyre
> lacking a lot of core functionality when it comes to App servers and
> enetrprise Components
> check it out

> Saurabh



> > I've heard that web forms are going to be so much better than web
classes
> > but I'm skeptical. For one thing, web forms still seem to use the
session
> > object to manage state. That does not scale particularly well. You could
> not
> > use such a method in a load balanced environment because the each
request
> > has to be routed to the same machine. The one that has the session
object
> in
> > memory. Maybe I just haven't come across the correct documentation. Can
> > anyone tell me if Microsoft has addressed or plans to address this
> > limitation?

> > jc



Sat, 17 Apr 2004 13:35:50 GMT  
 .net and load balancing
Never mind, I figured it out. "Stateful Session Enterprise Java Beans".

jc

Quote:
> What are "Stateful Session EJB's"?

> jc



> > whats goin on
> > this probably isnt an appropriate reply but just for your info you may
> want
> > to look into Stateful Session EJB's
> > personally i am a big proponent of MS technologies but i think theyre
> > lacking a lot of core functionality when it comes to App servers and
> > enetrprise Components
> > check it out

> > Saurabh



> > > I've heard that web forms are going to be so much better than web
> classes
> > > but I'm skeptical. For one thing, web forms still seem to use the
> session
> > > object to manage state. That does not scale particularly well. You
could
> > not
> > > use such a method in a load balanced environment because the each
> request
> > > has to be routed to the same machine. The one that has the session
> object
> > in
> > > memory. Maybe I just haven't come across the correct documentation.
Can
> > > anyone tell me if Microsoft has addressed or plans to address this
> > > limitation?

> > > jc



Sat, 17 Apr 2004 13:44:19 GMT  
 .net and load balancing
Never mind, I figured it out. "Stateful Session Enterprise Java Beans".

jc

Quote:
> What are "Stateful Session EJB's"?

> jc



> > whats goin on
> > this probably isnt an appropriate reply but just for your info you may
> want
> > to look into Stateful Session EJB's
> > personally i am a big proponent of MS technologies but i think theyre
> > lacking a lot of core functionality when it comes to App servers and
> > enetrprise Components
> > check it out

> > Saurabh



> > > I've heard that web forms are going to be so much better than web
> classes
> > > but I'm skeptical. For one thing, web forms still seem to use the
> session
> > > object to manage state. That does not scale particularly well. You
could
> > not
> > > use such a method in a load balanced environment because the each
> request
> > > has to be routed to the same machine. The one that has the session
> object
> > in
> > > memory. Maybe I just haven't come across the correct documentation.
Can
> > > anyone tell me if Microsoft has addressed or plans to address this
> > > limitation?

> > > jc



Sat, 17 Apr 2004 13:45:02 GMT  
 .net and load balancing
Never mind, I figured it out. "Stateful Session Enterprise Java Beans".

jc

Quote:
> What are "Stateful Session EJB's"?

> jc



> > whats goin on
> > this probably isnt an appropriate reply but just for your info you may
> want
> > to look into Stateful Session EJB's
> > personally i am a big proponent of MS technologies but i think theyre
> > lacking a lot of core functionality when it comes to App servers and
> > enetrprise Components
> > check it out

> > Saurabh



> > > I've heard that web forms are going to be so much better than web
> classes
> > > but I'm skeptical. For one thing, web forms still seem to use the
> session
> > > object to manage state. That does not scale particularly well. You
could
> > not
> > > use such a method in a load balanced environment because the each
> request
> > > has to be routed to the same machine. The one that has the session
> object
> > in
> > > memory. Maybe I just haven't come across the correct documentation.
Can
> > > anyone tell me if Microsoft has addressed or plans to address this
> > > limitation?

> > > jc



Sat, 17 Apr 2004 13:44:54 GMT  
 .net and load balancing
.NET has addressed the whole session scalability problem by creating 3 new
scenarios.

a) Carry on as is - session managed by IIS on the same server
b) Use SQL server as the session repository
c) Use the new session manager service on the same or another server.

All three of these scenarios are invisible to the user and developer, you
simply specify how you want the framework to handle it in the app config
file.
The second and third options have been created to solve the load
balancing/web farms issue where requests are routed across multiple IIS
servers from a single session.
The session server can be a completely separate machine or just one of the
IIS machines.  As it's a separate service it maintains state even if the IIS
process is stopped/re-started.

Interestingly, MS have also gone back to something that you could do in IIS3
but not IIS4/5 and that is store the session ID in the URL rather than a
cookie.  Again, this is a setting in the config file.

Steve


Quote:
> I've heard that web forms are going to be so much better than web classes
> but I'm skeptical. For one thing, web forms still seem to use the session
> object to manage state. That does not scale particularly well. You could
not
> use such a method in a load balanced environment because the each request
> has to be routed to the same machine. The one that has the session object
in
> memory. Maybe I just haven't come across the correct documentation. Can
> anyone tell me if Microsoft has addressed or plans to address this
> limitation?

> jc



Wed, 28 Apr 2004 04:35:56 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Load Balancing, DCOM and NT server

2. load balancing HTML link ?

3. Questions about Load Balanced IIS Design.

4. MSMQ and load balancing

5. Windows Load Balancing

6. Implementing Load Balancing Programmatically?

7. COM Load Balancing

8. COM+ Load Balancing clients

9. Load Balancing

10. Need further explanation of Transcender test question RE load balancing

11. COM+ Load Balancing

12. Load balancing without Application Center

 

 
Powered by phpBB® Forum Software