Re: ASP.Net Caching Questions
- From: Phil Sandler <psandler70@xxxxxxxxxxx>
- Date: 29 May 2007 08:46:26 -0700
On May 29, 9:20 am, KJ <n_o_s_p_a...@xxxxxxxx> wrote:
A serialization option (other than XML) you might consider is binary
serialization (saving an object as a stream of bytes to some medium,
such as a varbinary SQL Server column). Check out the topic "basic
serialization" in msdn.
As stated, the lookups have to be as fast as possible, so the idea is
to have all the information in memory so that the lookups are
instant. Loading the information from a file or sql column will not
perform nearly as well.
One thing I thought of: What if for some reason the aspnet or iis
process tanks and has to restart? What would happen to your
application (I imagine that such an application would require serious
ramp-up time to load all the data)?
Yes, there would be ramp up time. This is an expected and acceptable
condition, so long as the application performs well when it's running.
SQL Server is built to withstand
these kinds of events, and a properly designed and optimized SQL
database will perform comparably to using Cache.
With all due respect, what are you basing this on? Have you ever
tested this? Lookup up information in cache is many, many times
faster than querying a database for it.
I appreciate your taking the time to respond, but I need to find
answers to my specific questions before I start looking at alternate
solutions.
Thanks,
Phil
.
- Follow-Ups:
- Re: ASP.Net Caching Questions
- From: KJ
- Re: ASP.Net Caching Questions
- References:
- ASP.Net Caching Questions
- From: Phil Sandler
- Re: ASP.Net Caching Questions
- From: KJ
- Re: ASP.Net Caching Questions
- From: Phil Sandler
- Re: ASP.Net Caching Questions
- From: KJ
- ASP.Net Caching Questions
- Prev by Date: Newbie question - Use dropdownlist or textbox for db insert?
- Next by Date: Available SAP SD functional consultant with us
- Previous by thread: Re: ASP.Net Caching Questions
- Next by thread: Re: ASP.Net Caching Questions
- Index(es):
Relevant Pages
|