On 07/02/13 08:41, jleleu wrote:
> Hi,
>
> Not so sure you need an additionnal cache framework here.
> EhCache is a great framework which knows how to persist data on disk. It
 has
> become very very powerfull, especially in its last version :
> http://ehcache.org/documentation/configuration/fast-restart.
>
> I think it's all about configuration.
> I took a look at the documentation :
> http://shiro.apache.org/session-management.html, part "EHCache Session
 Cache
> Configuration".
> I would try the same config with /maxElementsInMemory="1"/.
>
>

I can't imagine that would be very efficient. I thought the  disk use in 
the case of EhCache was for overflow from memory (so you can constrain 
memory use), and having everything written to and read from disk for 
every call would be pretty painful. But I could be (and probably am) 
entirely wrong in this - I haven't looked at config options for EhCache 
in a fair while now.

John

Reply via email to