Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / December 2003

Tip: Looking for answers? Try searching our database.

Cache or Application is Faster?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bdwise - 24 Nov 2003 01:16 GMT
What is faster, reading a saved DataSet from an Application.Get() or
reading the same DataSet from HttpCache?
Alvin Bruney - 24 Nov 2003 01:59 GMT
Cache is faster. It has been tuned for performance and efficiency whereas
application is only presented for backward compatibility with asp classic.
Moving forward you should embrace cache instead of application strategies.

Regards

Signature

-----------
Got TidBits?
Get it here: www.networkip.net/tidbits

> What is faster, reading a saved DataSet from an Application.Get() or
> reading the same DataSet from HttpCache?
Patrick Y. Ng - 03 Dec 2003 23:48 GMT
Either way you're just accessing a pointer which points to
the real DataSet object.  But Application.Get() might be a
bit faster because HttpCache has to do some internal book
keeping work such as cache entry expiration date, etc.

>-----Original Message-----
>What is faster, reading a saved DataSet from an Application.Get() or
>reading the same DataSet from HttpCache?
>.
Alvin Bruney - 06 Dec 2003 01:01 GMT
No it's not, see my reply thread.

Signature

Regards,
Alvin Bruney
http://www.networkip.net/dotnet/tidbits/default.htm

> Either way you're just accessing a pointer which points to
> the real DataSet object.  But Application.Get() might be a
[quoted text clipped - 6 lines]
> >reading the same DataSet from HttpCache?
> >.
Jerry III - 06 Dec 2003 10:43 GMT
Alvin's right, cache maintenance does not affect lookups - the expiration
time is not checked when you retrieve the object, that way it would never be
released if you never access it.

Jerry

> Either way you're just accessing a pointer which points to
> the real DataSet object.  But Application.Get() might be a
[quoted text clipped - 6 lines]
> >reading the same DataSet from HttpCache?
> >.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.