473,408 Members | 1,960 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,408 software developers and data experts.

Optomise for Speed or refresh - performance question?


What is considered best when doing an application that allows you to browse
data eg by month?

I've currently got an app working so it does a complete refresh when you
change the month you are looking at, using a providers SDK tools. This is
reasonably effective - but there is a few seconds on jumping between one
month and the next (having optomised the rest of the app).

However I could change it to only refresh on command, and catch all the data
on first load. This might make the month jumps considerably easier and
smoother.

What is best? Allow for refresh or allow for speed?
I don't really fancy rewriting it all to force refresh (the data only
catches between a limited boundary so as it is currently, it doesnt get ALL
the data, only what is in the necessary time frame for the view).

Would most users prefer to see all the current data without ever having to
refresh, or is the performance loss to much of a sacrifice?

Is it likely as I anticipate to improve the performance by no end (the rest
of the code doesnt do that much except refer to the dataset caught from
xml).

Many thanks
Nov 21 '05 #1
3 1124
Antoine,

Is this a Windows or Web application?

How often would the typical user view the data each day? Once, twice, or
over and over again?

How many records are there in a complete month's worth of data?
--
Mike

Mike McIntyre
Visual Basic MVP
www.getdotnetcode.com

"Antoine" <mf****@dsl-spam.pipex.com> wrote in message
news:10*************@corp.supernews.com...

What is considered best when doing an application that allows you to
browse
data eg by month?

I've currently got an app working so it does a complete refresh when you
change the month you are looking at, using a providers SDK tools. This is
reasonably effective - but there is a few seconds on jumping between one
month and the next (having optomised the rest of the app).

However I could change it to only refresh on command, and catch all the
data
on first load. This might make the month jumps considerably easier and
smoother.

What is best? Allow for refresh or allow for speed?
I don't really fancy rewriting it all to force refresh (the data only
catches between a limited boundary so as it is currently, it doesnt get
ALL
the data, only what is in the necessary time frame for the view).

Would most users prefer to see all the current data without ever having to
refresh, or is the performance loss to much of a sacrifice?

Is it likely as I anticipate to improve the performance by no end (the
rest
of the code doesnt do that much except refer to the dataset caught from
xml).

Many thanks

Nov 21 '05 #2
Hi Thanks for your question

Web app, but as in Intranet mostly

How often? Hard to say. As and when required most likely.

Number of records? As many as they have entered on the activities..

Cheers
Antoine
"Mike McIntyre" <mi****@dotnetshowandtell.com> wrote in message
news:un*************@TK2MSFTNGP11.phx.gbl...
Antoine,

Is this a Windows or Web application?

How often would the typical user view the data each day? Once, twice, or
over and over again?

How many records are there in a complete month's worth of data?
--
Mike

Mike McIntyre
Visual Basic MVP
www.getdotnetcode.com

"Antoine" <mf****@dsl-spam.pipex.com> wrote in message
news:10*************@corp.supernews.com...

What is considered best when doing an application that allows you to
browse
data eg by month?

I've currently got an app working so it does a complete refresh when you
change the month you are looking at, using a providers SDK tools. This is reasonably effective - but there is a few seconds on jumping between one
month and the next (having optomised the rest of the app).

However I could change it to only refresh on command, and catch all the
data
on first load. This might make the month jumps considerably easier and
smoother.

What is best? Allow for refresh or allow for speed?
I don't really fancy rewriting it all to force refresh (the data only
catches between a limited boundary so as it is currently, it doesnt get
ALL
the data, only what is in the necessary time frame for the view).

Would most users prefer to see all the current data without ever having to refresh, or is the performance loss to much of a sacrifice?

Is it likely as I anticipate to improve the performance by no end (the
rest
of the code doesnt do that much except refer to the dataset caught from
xml).

Many thanks


Nov 21 '05 #3
I have found this but I am not sure on some of the points, like whether data
caching would make sense or not. Perhaps I dont need datacahcing and I just
need to check is postback, and if the dataset is already created just use
that - though I doubt that helps with reusing session data on subsequent
session does it?
I have just tried triming the page size. I have viewstate disabled on any
fields I dont need it on and so on.

http://msdn.microsoft.com/library/de...netchapt06.asp
"Mike McIntyre" <mi****@dotnetshowandtell.com> wrote in message
news:un*************@TK2MSFTNGP11.phx.gbl...
Antoine,

Is this a Windows or Web application?

How often would the typical user view the data each day? Once, twice, or
over and over again?

How many records are there in a complete month's worth of data?
--
Mike

Mike McIntyre
Visual Basic MVP
www.getdotnetcode.com

"Antoine" <mf****@dsl-spam.pipex.com> wrote in message
news:10*************@corp.supernews.com...

What is considered best when doing an application that allows you to
browse
data eg by month?

I've currently got an app working so it does a complete refresh when you
change the month you are looking at, using a providers SDK tools. This is reasonably effective - but there is a few seconds on jumping between one
month and the next (having optomised the rest of the app).

However I could change it to only refresh on command, and catch all the
data
on first load. This might make the month jumps considerably easier and
smoother.

What is best? Allow for refresh or allow for speed?
I don't really fancy rewriting it all to force refresh (the data only
catches between a limited boundary so as it is currently, it doesnt get
ALL
the data, only what is in the necessary time frame for the view).

Would most users prefer to see all the current data without ever having to refresh, or is the performance loss to much of a sacrifice?

Is it likely as I anticipate to improve the performance by no end (the
rest
of the code doesnt do that much except refer to the dataset caught from
xml).

Many thanks


Nov 21 '05 #4

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

Similar topics

18
by: HerrLucifer | last post by:
I am each day becoming more and more addicted to the new .Net framework because of its cool RAD facilities. However, performance and speed is extremely important for my application development. I...
60
by: Neil | last post by:
I have a situation with an ODBC linked view in an Access 2000 MDB with a SQL 7 back end. The view is scrolling very slowly. However, if I open the view in an ADP file, it scrolls quickly. I...
6
by: Chua Wen Ching | last post by:
Hi there, 1) I am looking for the best collections techniques to be used in my program. Is hashtable or arraylist or any .net collection, which is the fastest when adding, getting out data???...
11
by: Sezai YILMAZ | last post by:
Hello I need high throughput while inserting into PostgreSQL. Because of that I did some PostgreSQL insert performance tests. ------------------------------------------------------------ --...
7
by: Michael | last post by:
I'm writing an application that decodes a file containing binary records. Each record is a particular event type. Each record is translated into ASCII and then written to a file. Each file contains...
9
by: burningsunorama | last post by:
Hi guys! This is maybe a too 'academic problem', but I would like to hear your opinions, something like pros and cons for each approach.... ... Recently we've had at work a little talk about the...
2
by: jphelan | last post by:
Ever since I successfully applied some techniques for increasing the speed of my 17 meg. Application; it has only made me hunger for more. First, let me list what I have done so far: 1. Split...
45
by: charles.lobo | last post by:
Hi, I have recently begun using templates in C++ and have found it to be quite useful. However, hearing stories of code bloat and assorted problems I decided to write a couple of small programs...
11
by: rich | last post by:
I'm having a tough time figuring out which of these two options are best. This is a matter of processing my data in PHP, vs MySQL. Usually that's a no brainer, but I have a couple gotchyas here...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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
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
agi2029
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,...
0
isladogs
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...
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...

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.