471,075 Members | 772 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

moving session from inproc to state server: performance?

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

- - -
Nov 19 '05 #1
6 1905
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
"Steven Spits" <so*****@company.com> wrote in message
news:Ot****************@TK2MSFTNGP14.phx.gbl...
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

- - -

Nov 19 '05 #2
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
=====================

"Ollie" <why do they need this!!!!> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
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 "Steven Spits" <so*****@company.com> wrote in message
news:Ot****************@TK2MSFTNGP14.phx.gbl...
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

- - -


Nov 19 '05 #3
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
----------------------------------------------------------
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
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
=====================

"Ollie" <why do they need this!!!!> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
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

"Steven Spits" <so*****@company.com> wrote in message
news:Ot****************@TK2MSFTNGP14.phx.gbl...
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

- - -



Nov 19 '05 #4
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)
"Steven Spits" <so*****@company.com> wrote in message
news:Ot****************@TK2MSFTNGP14.phx.gbl...
| 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
|
| - - -
|
|
Nov 19 '05 #5
"Alvin Bruney [MVP]" wrote:
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.


Thank you all!

Steven

- - -
Nov 19 '05 #6
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

"Ollie" <why do they need this!!!!> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
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
"Steven Spits" <so*****@company.com> wrote in message
news:Ot****************@TK2MSFTNGP14.phx.gbl...
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

- - -


Nov 19 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Billy Jacobs | last post: by
8 posts views Thread by karahan celikel | last post: by
1 post views Thread by ciaran | last post: by
10 posts views Thread by =?Utf-8?B?V2FubmFiZQ==?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.