473,224 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

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 1598
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
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
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
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
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
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
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
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
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
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".
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.