[infinispan-dev] A question and an observation

Galder Zamarreño galder at redhat.com
Mon Jul 14 05:00:05 EDT 2014


On 07 Jul 2014, at 10:14, Bela Ban <bban at redhat.com> wrote:

> 
> 1: Observation:
> -------------
> In my Infinispan perf test (IspnPerfTest), I used 
> cache.getAdvancedCache().withFlags(...).put(key,value) in a tight loop.
> 
> I've always thought that withFlags() was a fast operation, *but this is 
> not the case* !!
> 
> Once I changed this and predefined the 2 caches (sync and async) at the 
> start, outside the loop, things got 10x faster ! So please change this 
> if you made the same mistake !
> 
> 2. Question:
> -----------
> In Infinispan 6, I defined my custom transport as follows:
> <transport ... transportClass="org.perf.CustomTransport"/>
> 
> This is gone in 7. Do I now have to use programmatic configuration ? If 
> so, how would I do this ?

^ An oversight, it’ll be fixed before Final: https://issues.jboss.org/browse/ISPN-4510

> 
> -- 
> Bela Ban, JGroups lead (http://www.jgroups.org)
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz




More information about the infinispan-dev mailing list