
Subscribe
Subscribe via RSS
Follow me on Twitter
Or, Receive daily updates via email.
Tags
adobe air ajax apple cf community cfml coldfusion examples ext flash flex google javascript max2007 max2008 misc open source programming railo software technology ui
Recent Entries
Converting structkeys to lowercase
Blogroll
An Architect's View
CFSilence
Rey Bango
TalkingTree

In order to do real distributed caching with Ehcache you need to install one or more copies of Ehcache server and communicate witht the cache via REST or SOAP.
Enter MemcacheD and EHCache remote. The current EHCache Distributed version is just one that you can replicate across a cluster. There are two additional extensions that allow you to use distributed Caches like EHCache remote or MemcacheD. We already use that for a larger customer of ours. But we still want to enhance it in order to be able to use an array of servers and have them behave as one. That can be easily done in EHCache but not in Memcached.
Please note that you can define as many caches as you like and in as many contexts as you like. The caches you use will have separate names which allow you to use functions like CacheGet() like this: CacheGet(key, "cachename"). The name of the cache is like a datasource so that you can use different implementations for them. More to come on our blog regarding this topic.
Gert Franz
Railo Technologies
Thats correct, in this implementation it is "simply" a replication of cache across multiple machines to keep the cache well in sync :). Later we will be implementing a real distributed cache, and hence the use of the slash between distributed and replicated in my post.