Interest Ask. I used ehcache very successfully in a hibernation project, but then I didn’t just have read-only data.
Memcached was not originally intended for use with contexts like hibernation, although I see no reason why it should not be used. The only drawback with memcached in your context is that you probably don't need a funky distributed cached ability, since you probably have enough memory on one server to handle your load, and therefore you won’t get anything from Memcached client server overhead.
I don’t think you will regret your decision to go with memcached. It is very widely used for caching websites, I see no reason why you cannot use it in your context.
source share