Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Caching performance question

Status
Not open for further replies.

guitardave78

Programmer
Sep 5, 2001
1,294
GB
What would you think is best out of these situations.
I have a page that is pretty sql heavy.
At the moment I have set up a caching routine that will store the output into a couple of application variables and then only query the database for new content after the expiration date.

My idea is to convert this so that it writes a text file and uses it the same way, reads it in using fso or writes the new one if the date of the files is past the expiration date.

Which would be best from an overhead / performance view point?

}...the bane of my life!
 
You'll really need to test out the performance on the FSO object vs. the data objects. My first guestimation is the the data access objects are going to win over file system objects based mainly on cursor navigation through your data.

Try looking into disconnected recordsets. That may be your best option

[sub]____________ signature below ______________
The worst mistake you'll ever make is to do something simply the way you know how while ignoring the way it should be done[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top