[infinispan-dev] A question and an observation

Bela Ban bban at redhat.com
Mon Jul 21 03:25:17 EDT 2014


Thanks Galder, appreciated !

On 14/07/14 11:00, Galder Zamarreño wrote:
>
> 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
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>

-- 
Bela Ban, JGroups lead (http://www.jgroups.org)


More information about the infinispan-dev mailing list