How to configure multiple evictionPolicy and What's the behavior?

classic Classic list List threaded Threaded
5 messages Options
kcheng.mvp kcheng.mvp
Reply | Threaded
Open this post in threaded view
|

How to configure multiple evictionPolicy and What's the behavior?

Does ignite support multiple eviction policies and what's the behavior ?
vkulichenko vkulichenko
Reply | Threaded
Open this post in threaded view
|

Re: How to configure multiple evictionPolicy and What's the behavior?

Hi,

Eviction policy is configured on per-cache basis. There is no way to provide several policies for one cache.
Note that in case you're using near cache, it has it's own eviction policy (set via NearCacheConfiguration.setNearEvictionPolicy).

Makes sense?

-Val
kcheng.mvp kcheng.mvp
Reply | Threaded
Open this post in threaded view
|

Re: How to configure multiple evictionPolicy and What's the behavior?

Might be a good idea to support multiple eviction policy, i have used Hazelcast in a project. it support multiple eviction policy.
dsetrakyan dsetrakyan
Reply | Threaded
Open this post in threaded view
|

Re: How to configure multiple evictionPolicy and What's the behavior?


On Wed, Aug 5, 2015 at 10:03 PM, kcheng.mvp <[hidden email]> wrote:
Might be a good idea to support multiple eviction policy, i have used
Hazelcast in a project. it support multiple eviction policy.

I don't think support for multiple eviction policies for a single cache makes sense. I would be very surprised if Hazelcast supports it.

Ignite does support multiple eviction policies for different caches. Each cache can have its own different eviction policy.

Moreover, unlike Hazelcast, eviction policies in Ignite are pluggable and you can plug in your own implementation, if none of the provided ones fit.

More on eviction policies here: 

If this behavior is not enough, can you please give an example of what kind of behavior you are looking for?

D.
 
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-configure-multiple-evictionPolicy-and-What-s-the-behavior-tp838p842.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

agura-2 agura-2
Reply | Threaded
Open this post in threaded view
|

Re: How to configure multiple evictionPolicy and What's the behavior?

CONTENTS DELETED
The author has deleted this message.