By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,665 Members | 1,900 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,665 IT Pros & Developers. It's quick & easy.

moving session from inproc to state server: performance?

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a
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.