Need architectural help to implement caching

G

Girish

i have to implement caching in my application, can any one tell me
about the good techniques to implement caching, or provide some
architectural help , so i can use it to my application.

i want to control caching dynamically according to my configuration.

Thanks,
 
A

Arne Vajhøj

Girish said:
i have to implement caching in my application, can any one tell me
about the good techniques to implement caching, or provide some
architectural help , so i can use it to my application.

i want to control caching dynamically according to my configuration.

You figure out your requirements for the cache, check if there are
a quality solution available that meets those requirements, if yes then
you use that, if no you write your own.

Without knowing anything about app, data and requirements nobody here
can come with a specific recommendation.

Arne
 
G

Girish

Your question doesn't seem all that specific to C# or .NET. However, if
you really want to discuss that here, you should probably be a lot more
specific about what you're doing. What are you caching? In-memory data?
Downloaded files? What parameters do you want to control the caching?
Lifetime? Size? Relevance? Recent use?

The basic idea is: save the data somewhere, until it no longer meets your
criteria for being retained. Without more specific details from you, it'd
be pretty hard to advise on how specifically to design and implement the
particular caching you want to have.

Pete

Actually, I have to implement a content based website.
my requirements are to cache data by parameters(URL), each page can
have different cache time.
and i have to provide a control panel where site administrator can be
able to clear cache for the specific URL, complete page or whole
site.
or they can also able to change the cache time of a particular page.

Girish
 
G

Girish

You figure out your requirements for the cache, check if there are
a quality solution available that meets those requirements, if yes then
you use that, if no you write your own.

Without knowing anything about app, data and requirements nobody here
can come with a specific recommendation.

Arne

Actually, I have to implement a content based website.
my requirements are to cache data by parameters(URL), each page can
have different cache time.
and i have to provide a control panel where site administrator can be
able to clear cache for the specific URL, complete page or whole
site.
or they can also able to change the cache time of a particular page.

GJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top