I do not know, really, I have no objections against ehcache, but adding
this to Slide's internal caching shouldn't be too hard either...
Oliver
James Mason wrote:
Ya, I didn't post that properly to get it included in CVS. Sorry about
that.
I've made some improvements, specifically related to speed and verbose
logging, but they depend on ehcache: http://ehcache.sourceforge.net/.
Ehcache is licensed under the Apache 1.1 license, and Cocoon is
distributing it, but I hesitate to add a dependency to Slide for
something this small.
I saw that Slide has a couple cache implementations (as of 2.0), but I
need a cache implementation that has a TimeToLive flag. Since the jndi
store is read-only I need the cache to be periodically refreshed to pick
up changes from the LDAP server. It takes about a minute to create a
collection with 20,000 child bindings (maybe someone can suggest a more
efficient way to do this), so it definately needs to be cached.
I still need to implement logic that will periodically refresh objects
in the cache that take a long time to create. I don't want the user
that's unlucky enough to make a request right after something has
expired to have to wait for it to be created.
Does anyone have recommendations about which caching implementation to
use? I'd like to contribute the work, so let me know what would fit best
with Slide.
-James
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]