473,396 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Measuring serialized session "size"

We are attempting to convert an already existing application over to using
multiple worker processes; thus we need to store state via session state
server rather than in process. Since this app previously used in process
state there was little back pressure against storing objects in the session.
Now we're paying the price because serialization sucks in referenced objects
resulting in possibly huge state storage and serialize/deserialize costs.

What would *really* be helpful would be having some way to quantify this;
i.e., a way to measure how much serialized state is being managed per page.
That would allow us to verify that this is indeed a problem and to measure
our progress towards eliminating the problem as we selectively remove
objects from the session object and/or provide custom serializers. We can't
find any useful counters in the performance monitor unfortunately.

Are there any tools or techniques we might use to get at this sort of data?

Thanks,
Bill
Nov 18 '05 #1
1 2380
the easiest is to use the SQLServer session manager, and run queries. the
serialized data is stored in a column by session. you could add an update
trigger to copy the data (or size only) on update to get history of session
size per session.

you can write unit tests to test serialize/deserialize times.

-- bruce (sqlwork.com)
"Bill Cohagan" <co*****@teraXNOSPAMXquest.com> wrote in message
news:Or****************@tk2msftngp13.phx.gbl...
| We are attempting to convert an already existing application over to using
| multiple worker processes; thus we need to store state via session state
| server rather than in process. Since this app previously used in process
| state there was little back pressure against storing objects in the
session.
| Now we're paying the price because serialization sucks in referenced
objects
| resulting in possibly huge state storage and serialize/deserialize costs.
|
| What would *really* be helpful would be having some way to quantify this;
| i.e., a way to measure how much serialized state is being managed per
page.
| That would allow us to verify that this is indeed a problem and to measure
| our progress towards eliminating the problem as we selectively remove
| objects from the session object and/or provide custom serializers. We
can't
| find any useful counters in the performance monitor unfortunately.
|
| Are there any tools or techniques we might use to get at this sort of
data?
|
| Thanks,
| Bill
|
|
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm"...
7
by: Aryeh M. Friedman | last post by:
If have something like the following declartion: enum foo {One,Two,....,Ten}; How do I determine how many elements (enumerations)... in this case it is obviously 10 but I don't want to hard...
4
by: JMUApache | last post by:
Hi, A have a problem with Inhreit Control. I try to Change its Size in Construct Function, And it works. Code Here: -------------------------------------------------- public class...
17
by: teser3 | last post by:
I can put out a Word Doc from PHP but if I try and manipulate the font size in the PHP part it outputs a blank Word Document. Here is what I have: <?php $fname="report.doc"; $handle = fopen(...
3
by: kjworm | last post by:
Greetings, I have a report displayed on a screen that anyone in the office can look at. The data on this report will change from time to time. This report has different colors displayed...
3
by: Tom | last post by:
Can someone please explain the non-working aspect of binding to Width? See code below. Thanks !! -- Tom =================================================== using System; using...
1
by: chrisj | last post by:
I'm using freeASPupload and got some assistance integrating to a Member script. It works successfully. In this modified version there are two groups that use this upload script. Members of one...
7
by: Luna Moon | last post by:
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int main() { string cc(31, 'c'); string bb=cc.assign(3, 'dd');
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...

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.