473,467 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP .NET 2.0 Performance

I am looking to improve the performance of my application. The result
page is 17k but it takes years to come up. There is an underlying sql
2005 query, but results come back rather fast. It seems to me that
caching is not there. Any suggestions?

Thanks in advance

Aug 14 '06 #1
13 1271
Hi Roman,

Are you saying 17000 records. First thing do not know what a user will
do by viewing 17000 record at one glance. Best will be to pagination. I
mean 10 record at one time

As you said SQL 2005 there is a concept called as SQL cache dependency
but wondering do you really require that.

Regards
Shiv
Free 1000 .NET and SQL Server Interview questions with answers
http://www.questpond.com

Aug 14 '06 #2
Thanks for your help. I meant 17kb as rendered file size to say it
didn't generate much traffic.

As for the database, it is tiny. Also, other pages which do not query
the db perform the same way. It appears that application server is
building the page every time even if it didn't change.

Thanks again

sh**********@yahoo.com wrote:
Hi Roman,

Are you saying 17000 records. First thing do not know what a user will
do by viewing 17000 record at one glance. Best will be to pagination. I
mean 10 record at one time

As you said SQL 2005 there is a concept called as SQL cache dependency
but wondering do you really require that.

Regards
Shiv
Free 1000 .NET and SQL Server Interview questions with answers
http://www.questpond.com
Aug 14 '06 #3
Roman wrote:
Thanks for your help. I meant 17kb as rendered file size to say it
didn't generate much traffic.

As for the database, it is tiny. Also, other pages which do not query
the db perform the same way. It appears that application server is
building the page every time even if it didn't change.

Thanks again
Hi Roman,

Just to clarify, are you running this app from iis, or through the
development webserver in vs2005? If you are running it from iis, does
the page take a long time to load each time you view it, or on first
view?

Aug 14 '06 #4
ack,

ignore my question! I normally post on the asp forums and thought I was
reading this there.

Sorry about this :)

Aug 14 '06 #5
It takes long to load each time I view it.

^MisterJingo^ wrote:
Roman wrote:
Thanks for your help. I meant 17kb as rendered file size to say it
didn't generate much traffic.

As for the database, it is tiny. Also, other pages which do not query
the db perform the same way. It appears that application server is
building the page every time even if it didn't change.

Thanks again

Hi Roman,

Just to clarify, are you running this app from iis, or through the
development webserver in vs2005? If you are running it from iis, does
the page take a long time to load each time you view it, or on first
view?
Aug 14 '06 #6

Roman wrote:
It takes long to load each time I view it.
>From iis (webspace either on your machine or a webhost) or the vs2005
webserver?

Aug 14 '06 #7
>From a remote ie browser. Nowhere within iis' lan or development
environment.

^MisterJingo^ wrote:
Roman wrote:
It takes long to load each time I view it.
From iis (webspace either on your machine or a webhost) or the vs2005
webserver?
Aug 14 '06 #8
Hi,

Without seeing the code we can solve nothing, of course nobody will have the
time to see the entire code so this mean you will have to do some profiling
yourself.

A very simple way of doing this is by wrapping key parts of your app with
DateTime instances and checking the Ticks :
DateTime start = DateTime.Now;
// your code
TimeSpan span = DateTiem.Now.Substract( start);
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Roman" <rg*******@hotmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
It takes long to load each time I view it.

^MisterJingo^ wrote:
>Roman wrote:
Thanks for your help. I meant 17kb as rendered file size to say it
didn't generate much traffic.

As for the database, it is tiny. Also, other pages which do not query
the db perform the same way. It appears that application server is
building the page every time even if it didn't change.

Thanks again

Hi Roman,

Just to clarify, are you running this app from iis, or through the
development webserver in vs2005? If you are running it from iis, does
the page take a long time to load each time you view it, or on first
view?

Aug 14 '06 #9
Roman,
Turn on page tracing and do some Trace.Warn 's at strategic locations in the
code showing where the page is at and the times.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Roman" wrote:
I am looking to improve the performance of my application. The result
page is 17k but it takes years to come up. There is an underlying sql
2005 query, but results come back rather fast. It seems to me that
caching is not there. Any suggestions?

Thanks in advance

Aug 14 '06 #10
Thanks for your help. Is there a way to tell what pages/page parts
were cached in IIS? How does IIS decide, without rendering the page,
that this page has changed and it needs to be reloaded?
Peter wrote:
Roman,
Turn on page tracing and do some Trace.Warn 's at strategic locations in the
code showing where the page is at and the times.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Roman" wrote:
I am looking to improve the performance of my application. The result
page is 17k but it takes years to come up. There is an underlying sql
2005 query, but results come back rather fast. It seems to me that
caching is not there. Any suggestions?

Thanks in advance
Aug 16 '06 #11
Roman,
See here for some background:

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

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Roman" wrote:
Thanks for your help. Is there a way to tell what pages/page parts
were cached in IIS? How does IIS decide, without rendering the page,
that this page has changed and it needs to be reloaded?
Peter wrote:
Roman,
Turn on page tracing and do some Trace.Warn 's at strategic locations in the
code showing where the page is at and the times.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Roman" wrote:
I am looking to improve the performance of my application. The result
page is 17k but it takes years to come up. There is an underlying sql
2005 query, but results come back rather fast. It seems to me that
caching is not there. Any suggestions?
>
Thanks in advance
>
>

Aug 17 '06 #12
This is greag. Thanks.
Peter wrote:
Roman,
See here for some background:

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

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Roman" wrote:
Thanks for your help. Is there a way to tell what pages/page parts
were cached in IIS? How does IIS decide, without rendering the page,
that this page has changed and it needs to be reloaded?
Peter wrote:
Roman,
Turn on page tracing and do some Trace.Warn 's at strategic locations in the
code showing where the page is at and the times.
Peter
>
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
>
>
>
>
"Roman" wrote:
>
I am looking to improve the performance of my application. The result
page is 17k but it takes years to come up. There is an underlying sql
2005 query, but results come back rather fast. It seems to me that
caching is not there. Any suggestions?

Thanks in advance
Aug 17 '06 #13
In the previous reply I meant to say this is great.

I have one more question.

Assuming you had established caching duration as 1 hour. What happens
if during this time the cached page changed and conversely if caching
duration expired and page didn't change?

Thanks in advance
Peter wrote:
Roman,
See here for some background:

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

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Roman" wrote:
Thanks for your help. Is there a way to tell what pages/page parts
were cached in IIS? How does IIS decide, without rendering the page,
that this page has changed and it needs to be reloaded?
Peter wrote:
Roman,
Turn on page tracing and do some Trace.Warn 's at strategic locations in the
code showing where the page is at and the times.
Peter
>
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com
>
>
>
>
"Roman" wrote:
>
I am looking to improve the performance of my application. The result
page is 17k but it takes years to come up. There is an underlying sql
2005 query, but results come back rather fast. It seems to me that
caching is not there. Any suggestions?

Thanks in advance
Aug 17 '06 #14

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

Similar topics

25
by: Brian Patterson | last post by:
I have noticed in the book of words that hasattr works by calling getattr and raising an exception if no such attribute exists. If I need the value in any case, am I better off using getattr...
12
by: Fred | last post by:
Has anyone a link or any information comparing c and c++ as far as execution speed is concerned? Signal Processing algorithms would be welcome... Thanks Fred
12
by: serge | last post by:
I have an SP that is big, huge, 700-800 lines. I am not an expert but I need to figure out every possible way that I can improve the performance speed of this SP. In the next couple of weeks I...
6
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
13
by: bjarne | last post by:
Willy Denoyette wrote; > ... it > was not the intention of StrousTrup to the achieve the level of efficiency > of C when he invented C++, ... Ahmmm. It was my aim to match the performance...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
7
by: Michael D. Ober | last post by:
When calling Enqueue, the internal array may need to be reallocated. My question is by how much? In the old MFC array classes, you could tell MFC how many additional elements to add to the array...
1
by: jvn | last post by:
I am experiencing a particular problem with performance counters. I have created a set of classes, that uses System.Diagnostics.PerformanceCounter to increment custom performance counters (using...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
1
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
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.