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
- - - 6 2001
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*****@compan y.com> wrote in message
news:Ot******** ********@TK2MSF TNGP14.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
- - -
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******** ******@TK2MSFTN GP12.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*****@compan y.com> wrote in message news:Ot******** ********@TK2MSF TNGP14.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
- - -
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******** **********@TK2M SFTNGP10.phx.gb l... 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******** ******@TK2MSFTN GP12.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*****@compan y.com> wrote in message news:Ot******** ********@TK2MSF TNGP14.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
- - -
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*****@compan y.com> wrote in message
news:Ot******** ********@TK2MSF TNGP14.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
|
| - - -
|
|
"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
- - -
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******** ******@TK2MSFTN GP12.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*****@compan y.com> wrote in message news:Ot******** ********@TK2MSF TNGP14.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
- - -
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Billy Jacobs |
last post by:
I am having a problem with my session variable being set
to Null for no apparent reason.
I am declaring it like the following when the user logs in.
dim objUserInfo as new clsUserInfo
'Set some properties
objUserInfo.UserName = txtUserName.text.trim
objUserInfo...
|
by: karahan celikel |
last post by:
I realized that when SqlServer mode is used for session management
Session_End event is not fired in global.asax.
What can I do if I want to do something when a user's session end?
Thanks
|
by: ciaran |
last post by:
I have a web app. running on a dual processor with 1GB RAM and SQL 200 Database
At any one time there can be around 20/30 users accessing it through the web interfac
performing tasks such as searching through DataSets, and a further 20/30 users performin
Replication using HandHeld Devices with SQL CE
From a web app. point of view I tend to use InProc Session State quite a lot to hold m
DataSets, etc. I'm aware of the different Session...
|
by: fbwhite |
last post by:
I know this issue has been brought up many times, but I have tried many of
the solutions to no avail. I wanted to give my specific case to see if
someone could be of any help.
We are using the sessionstate inproc mode and users are randomly losing
their session. I do not believe it is happening across all users at one
time. It seems to happen to different users at different times, but I am
only going off heresay. The aspnet worker...
|
by: Alex |
last post by:
Hello,
This is a follow-up to my earlier post about having issues with our
application pool recycling. We currently use Session State InProc, but if I
were to choose to move the existing application to SQL instead, would the
only change in the application be the SessionState setting within
web.config? I know I'd also need to setup our MS SQL database to handle
sessions (detailed in MS Article 317604), but outside of this, is there...
| |
by: =?Utf-8?B?V2FubmFiZQ==?= |
last post by:
I've been on this for a while, and cannot figure it out. Can someone please
help with this message?
SessionState can only be used when EnableSessionState is set to true, either
in a configuration file or in the page directive. Please also make sure that
System.Web.SessionStateModule or a custom session state module is included in
the <configuration><system.web><httpModulessection in the application
configuration.
Here is my current...
|
by: DNB |
last post by:
Presently we use InProc session state to session variables in our
application.
I was just thinking if its is easy to switch from InProc to SQL server
session state.
As per my undersrtanding we need to do following:
1. Configuring SQL Server to Store a Session State
2. Configuring the Web Site to Store a Session State i.e. The <sessionState>
tag of web.config. There is no code change
|
by: Moe Sisko |
last post by:
Using dotnet 2.0 sp1,
I've got ASP.NET session state working ok in SQLServer mode, but the
sessions never seem to expire.
e.g if I add a timeout attribute like so :
<sessionState mode="SQLServer"
sqlConnectionString="Integrated Security=SSPI;data source=localhost"
timeout="1" >
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |