Session space on a server...

  • Thread starter Thread starter +The_Taco+
  • Start date Start date
T

+The_Taco+

We have just deployed an ASP.NET application on a server, wich is a Pentium
4.

The thing that bugs me is that we have one big session per user when they
log on to our site.

Each sessions can contains a collection of 4000 items, so I was asking
myself what would it do if 1000 user logs on to our site at the time, what
will happen with the server? Is there too much stuff in our session ? Are
sessions designed for that kind of use?

Thx for your time.
 
Yes, there is too much stuff in Session. No, Sessions are not designed for
that kind of use. Databases are.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
You will be limited by your server's ram. Out of Memory errors will occur
after you use all of your ram, and the session that causes this error to
occur will terminate (They will lose all of their session data)

I'm not certain - but I suspect that the aspnet_wp would be terminated,
resulting in ALL active sessions to be terminated.

Steve
 
inproc sessions are not designed for this load. most likely, asp.net will
notice the high memory usage and recycle thus clearing all session data.
sqlserver sessions can easily handle this load.

-- bruce (sqlwork.com)
 
Back
Top