Performance issue when setting TTL for Ignite cache

Viewed 37

I observed that when a TTL is set for the cache, the get operation drastically slows down: it is 4 - 5x slower comparing with the case when no TTL is set. The only setting which I used is:

         cacheConfiguration.setExpiryPolicyFactory(AccessedExpiryPolicy.factoryOf(cacheTtlDuration)); // cacheTtlDuration is by default 120 minutes

Should I set some additional configuration parameters, or is this a known issue? I expect to see a difference, still this huge difference is a bit strange too me...

0 Answers
Related