473,499 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need architectural help to implement caching

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,


Apr 4 '08 #1
4 1609
Girish wrote:
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
Apr 5 '08 #2
On Apr 5, 9:39 pm, Arne Vajhøj <a...@vajhoej.dkwrote:
Girish wrote:
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
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
Apr 6 '08 #3
On Sat, 05 Apr 2008 23:00:13 -0700, Girish <gj*******@gmail.comwrote:
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.
Well, I can't say that that really helps guide us with respect to
architectural suggestions.

That said, it sounds like the kind of thing that the Windows Server web
proxy ought to already be able to do. I don't have any first-hand
experience, but it seems like you should be able to insert the proxy
between your web server and the outside world, and let it handle the
caching for you.

Pete
Apr 6 '08 #4
Girish wrote:
>
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.
If you are doing the website in ASP.Net, the Application cache will do a lot of
what you want.
You can add various objects, set caching time, and set dependencies on other
objects.
You clear objects by simply removing them from the cache.

Be aware, though, that caching is an optimization. Although it practice it
usually does what you want, in principle the cache can be reset at any time,
and does not guarantee that it will cache something for the time specified. The
model is that you write your code to see if something is in the cache, and use
it if is, else create it and add it. Also the application cache may or may not
carry across multiple instances of the web app, or application pooling, or what
have you.
Apr 6 '08 #5

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

Similar topics

14
1309
by: John Spiegel | last post by:
Hi all, I'm in the early stages of designing a system that we'll use in-house and am looking for opinions and suggestions for further reading on which directions to take. Background: Though...
5
1752
by: jensen bredal | last post by:
Hello, This may sound funny but i'm really serious about writing my own CMS. One big evidence now: i miss most of the basics. I have about two years of commercial experience on .net and i'm...
1
2355
by: John Keady | last post by:
I'd like to implement a "Most Popular Font" category on my new font site, http://www.FontVillage.com I'd also like to display number of downloads per font. Anyone have any idea how to track...
2
1241
by: Viet | last post by:
I have an architectural issue that I have been working on for quite awhile now and I would like another person's point of view. This issue involves the conversion of a VB6 app to VB.NET. In this...
3
1353
by: mateo | last post by:
Hello i would like to have advices on an ASP.NET 2 application that i must develop. I'm new to ASP.NET, i am more of WinApp developper, so if there is some experienced folks out there all advices...
10
2005
by: Luke Meyers | last post by:
So, just a little while ago I had this flash of insight. It occurred to me that, while of course in general there are very good reasons for the conventional two-file header/implementation...
8
16890
by: Andrus | last post by:
I'm creating C# WinForms client-server database application. This application reads data from PostgreSQL server using npgsql Dataadapter and DataReader classes and stores data mostly in Datasets...
2
1229
by: DC | last post by:
Hi, I have designed some data objects that I want to be filled by several providers. Do these objects typically belong into a seperate project (plus each provider is a separate project)? ...
2
1192
by: kamal81 | last post by:
Hi, I am using Enterprise Caching Application Block 3.1 in our Application. Can you tell how to maintain the "Cache object pooling".
0
7134
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
7014
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
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7229
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...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4609
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...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
311
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.