jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baum, Karl" <Karl.B...@Tallan.com>
Subject RE: cache.ccf - db
Date Wed, 09 Apr 2003 17:57:20 GMT
What we are looking to do is configure the caches from the database
instead of the cache.ccf file.  Obviously overall we are using JCS in an
attempt to reduce costly hits to our back end databases.  

I was thinking the CacheConfigurator should be an interface and the
default implementation would be the CompositeCacheConfigurator.  A
different cache configuration implementation may be optionally supplied
at runtime.  So for example, we could easily load our configurations
from a database.

Let me know what you think?  Thanks.

Karl

-----Original Message-----
From: Aaron Smuts [mailto:aasmuts@wisc.edu] 
Sent: Wednesday, April 09, 2003 6:49 AM
To: 'Turbine JCS Users List'
Subject: RE: cache.ccf - db

The point of the disk cache is to keep the data close and available.  

I did start implementing a db disk cache, but it was too slow.  

The cache allows any object.  The disk cache can take any serializable
object.  What kind of field can you use in a database.  A BLOB?  That's
just too slow.

Aaron

> -----Original Message-----
> From: Ungcharoen, Kevin [mailto:Kevin.Ungcharoen@Tallan.com]
> Sent: Wednesday, April 09, 2003 10:39 AM
> To: 'turbine-jcs-user@jakarta.apache.org'
> Subject: cache.ccf - db
> 
> 
> Has anyone implemented a way to read/load those name-value cache
> properties
> from a database, instead of reading from the file (cache.ccf) ? We are
> encoutering a situation where having to configure and maintain the
> cache.ccf
> file in so many servers (20+) might not be the best way to approach.
> 
> Thanks,
> Kevin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
turbine-jcs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
turbine-jcs-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail:
turbine-jcs-user-help@jakarta.apache.org

Mime
View raw message