[infinispan-dev] [patch] Unit test to highlight potential performance and cache eviction issues in distributed mode

Manik Surtani manik at jboss.org
Mon Dec 7 09:40:39 EST 2009


Hi Juha

I had a look, essentially it is only the 2 eviction-enabled tests that fail.  And this is because you do not have a cache store configured.  The eviction thread will kick in and pull stuff out of memory - and at this point you will need to have this overflow into a cache store.  When using DIST and the key is mapped to the local node, the DistributionManager will *not* attempt a remote lookup as the key is assumed to be available locally (either in memory or in a cache store).

Cheers
Manik

On 5 Dec 2009, at 15:55, Juha Heljoranta wrote:

> Hi,
> 
> I've had some problems with Infinispan and decided to write some unit test to 
> understand what might possibly go wrong.
> 
> First of all, I do admit that I try to use an individual Infinispan cache 
> instance as a grid client which might explain at least some of the issues. 
> However, I'd really like to understand why these issues are taking place. 
> 
> I'd be happy to improve the patch if needed.
> 
> Regards,
> Juha Heljoranta
> <asymmetric.patch>_______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list