oscache

OSCache vs. EHCache

Never used a cache like this before. The problem is that I want to load 500,000 + records out of a database and do some selecting/filtering wicked fast. I'm thinking about using a cache, and preliminarily found EHCache and OSCache, any opinions? ...

How do I set an cache time for objects in OSCache using spring-modules?

I have an application in need of some caching, and for some of the semi-static data, I want them to stay in the cache a maximum amount of time (for instance 10 minutes) before being refreshed. My system merely retrieves data, never updates it, so I have no idea of when to flush the cache using the property. In the OSCache docs, such an ...

Setting refresh-policies in Ehcache

Is there any to specify a data refresh policy in Ehcache? I am currently migrating an application from OSCache to Ehcache and I can't seem to find any way to specify when an element needs refreshing, besides setting timeToIdle and timeToLive. What I want is: on accessing an element from the cache, check with it's associated resource to...

how to config grails1.2 with oscache?

I do this : DataSource.groovy: hibernate { cache.use_second_level_cache=true cache.use_query_cache=true cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider' } and in BuildConfig.groovy: inherits( "global" ) { // uncomment to disable ehcache excludes 'ehcache' } runtime ("opensy...

Caching Pattern: What do you call (and how do you replace) OpenSymphony OsCache "group" paradigm

Hi all, A caching issue for you cache gurus. Context We have used OpenSymphony's OsCache for several years and consider moving to a better/stronger/faster/actively-developed caching product. Problem We have used OsCache's "group entry" feature and have not found it elsewhere. In short, OsCache allows you to specify one or more gro...

When to go for Caching/Second level cache? Any practical scenario with specifics?

I'm working on a web based application that belongs to an automobil manufacturer, developed in Spring-Hibernate with MS SQL Server 2005 database. Through this application, end users can request for creating a Car, Bus, Truck etc through web based interfaces. When a user logs in, a HTML form gets displayed for capturing technical specif...