websession clustering with eviction mode
Hello, I read Websession clustering page here. https://apacheignite-mix.readme.io/docs/web-session-clustering and I found this cache config for Eviction Policy. ... But I confusted because I understood cache Eviction policy for only on-heap area. Is it right? If I wanna config cache for session limit, I should use on-heap area? Thank you so much, I'll wait for reply. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: websession clustering with eviction mode
Hello! I think that web session clustering will automatically remove expired sessions from cache, and you should manage session alive time via your servlet container. Regards, -- Ilya Kasnacheev ср, 27 мая 2020 г. в 10:21, kay : > Hello, I read Websession clustering page here. > > https://apacheignite-mix.readme.io/docs/web-session-clustering > > and I found this cache config for Eviction Policy. > > > > > > > > class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy"> > > > > ... > > > > But I confusted because I understood cache Eviction policy for only on-heap > area. > Is it right? If I wanna config cache for session limit, I should use > on-heap > area? > > Thank you so much, I'll wait for reply. > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
Re: websession clustering with eviction mode
Thank you for reply! yes, I already set expire policy for web session cache. but I wanna config session count limits. Then, should I use on-heap cache?? I'm asking for sure.. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: websession clustering with eviction mode
Hello! You can enable page eviction if you are afraid to run out of data region. On-heap cache only complements off-heap storage so it will take more space, not less. It will evict from on-heap but keep entries off-heap. Regards, -- Ilya Kasnacheev чт, 28 мая 2020 г. в 10:20, kay : > Thank you for reply! > > yes, I already set expire policy for web session cache. > but I wanna config session count limits. > > Then, should I use on-heap cache?? > I'm asking for sure.. > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >