Forums Register Login

Using Data Cahe mechanism in Applications

+Pie Number of slices to send: Send
Hi

It is said that Data Caching mechanism increases the performance , as Databates hits will be less and Data will be retreivied from the cache .
So generally there are number of 3rd party cache mechanisms available for this .


But please tell me generally what type of Objects will be generally cached ??Can anybody please give me a scenario.

+Pie Number of slices to send: Send
Depends on your application. For example, maybe this site would cache the list of forums.
+Pie Number of slices to send: Send
Static look up data are usually good candidates for caching. For instance, the list of options used by your web pages or any such static data. Apps typically load and cache them at the beginning or when they are needed for the first time (lazy loading). Complex objects that are expensive to create are also cached (typically lazy loading). Hope that helps.

Velu Kasirajah
+Pie Number of slices to send: Send
 

For instance, the list of options used by your web pages



You mean Kepping hyperlink data as to maintain cache ??


+Pie Number of slices to send: Send
Dear Ravi,

What actual performance problem are you resolving with caching?

Kees Jan
+Pie Number of slices to send: Send
Hi

Thank you all for your suppourt .

I have now realised that i dont have any frequently accessed data , so i decided not to use the Second Level cache (Hibernate in my case )



+Pie Number of slices to send: Send
A nice quote from Donald Knuth, just keep that in mind

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil"

 
There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1146 times.
Similar Threads
callback and lifecycle methods
Using Query cache and second level cache
Regarding caching solution
Better caching mechanism for Jboss portal
Accelerating Query in the LDAP Proxy
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:44:10.