Groups | Blog | Home
all groups > asp.net > february 2005 >

asp.net : moving session from inproc to state server: performance?


bruce barker
2/10/2005 5:21:42 PM
not particularly. not sure why anyone would use inproc on a production site.
you biggest difficulty will be that objects stored in a out of process
session must be serializable.

-- bruce (sqlwork.com)


[quoted text, click to view]
| Hi,
|
| We're thinking of moving session from inproc to a state server. My
question
| is: should we expect a difference in performance? Is it noticeable?
|
| Steven
|
| - - -
|
|

Juan T. Llibre
2/10/2005 7:15:29 PM
True,

but I'll take a 15% performance hit any day,
against the possibility that *100%* of my
clients lose their session variables.

Site performance should be measured before making a
move from InProc to State Server Sessionstate management.

If more hardware is needed, to make up for the 15%
performance loss, it sure would be a good investment.

But maybe the 15% perf loss wouldn't matter,
if there's enough of a perf "cushion" which could
serve to compensate that 15% perf loss.




Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=====================

[quoted text, click to view]

Alvin Bruney [MVP]
2/10/2005 7:25:00 PM
I think that 15% figure comes from Dino Esposito's ASP.NET book. My own
tests have shown that it is much less, under 10% for instance on a
consistent basis. There are certainly overriding factors such connectivity
etc. Anyway, 15% is manageable for most real world applications that concern
themselves with reading files and parsing external resources.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------


[quoted text, click to view]

Ollie
2/10/2005 8:56:36 PM
moving from in-proc to out-of-proc session state is definitely going to give
worse performance, a good article can be found at

http://www.eggheadcafe.com/articles/20021016.asp

HTH

Ollie Riches
[quoted text, click to view]

Steven Spits
2/10/2005 9:51:48 PM
Hi,

We're thinking of moving session from inproc to a state server. My question
is: should we expect a difference in performance? Is it noticeable?

Steven

- - -

Steve C. Orr [MVP, MCSD]
2/10/2005 11:52:02 PM
How do you measure performance?
If you measure it in average response time under light load then you would
be correct.
However, if you're talking about scalability then State Server (And
especially Sql Server) storage can give far better performance under
demanding conditions.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net



[quoted text, click to view]

Steven Spits
2/11/2005 8:42:29 AM
[quoted text, click to view]

Thank you all!

Steven

- - -

AddThis Social Bookmark Button