Re: [infinispan-dev] A question and an observation

2014-07-21 Thread Bela Ban
Thanks Galder, appreciated ! On 14/07/14 11:00, Galder ZamarreƱo wrote: On 07 Jul 2014, at 10:14, Bela Ban b...@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

Re: [infinispan-dev] A question and an observation

2014-07-18 Thread Tristan Tarrant
No more constructors. Tristan On 07/07/14 12:52, Sanne Grinovero wrote: On 7 July 2014 11:04, Bela Ban b...@redhat.com wrote: How ? I already have an infinispan.xml, create a CacheManager off of it and now only want to change the transport. I have the same need; in Palma I asked for a

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Sanne Grinovero
On 7 July 2014 09:14, Bela Ban b...@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

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Sanne Grinovero
On 7 July 2014 11:04, Bela Ban b...@redhat.com wrote: How ? I already have an infinispan.xml, create a CacheManager off of it and now only want to change the transport. I have the same need; in Palma I asked for a CacheManager constructor which would take (String infinispanConfiguration,

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Pedro Ruivo
On 07/07/2014 11:04 AM, Bela Ban wrote: How ? I already have an infinispan.xml, create a CacheManager off of it and now only want to change the transport. I don't know if there is an easy way, but this may work: ParserRegistry parser = new ParserRegistry(); ConfigurationBuilderHolder

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Mircea Markus
On Jul 7, 2014, at 11:52, Sanne Grinovero sa...@infinispan.org wrote: On 7 July 2014 11:04, Bela Ban b...@redhat.com wrote: How ? I already have an infinispan.xml, create a CacheManager off of it and now only want to change the transport. I have the same need; in Palma I asked for a

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Mircea Markus
On Jul 7, 2014, at 10:37, Bela Ban b...@redhat.com wrote: 10x faster? That's surprising for a benchmark which is supposed to be network bound isn't it? I ran 2 IspnPerfTest processes on my local box with numOwners=2 (no L1 cache). I guess that roughly half of the calls go to the local

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Bela Ban
But where do I pass in my infinispan.xml config file ? I don't want a pure programtic configuration On 07/07/14 13:30, Mircea Markus wrote: On Jul 7, 2014, at 11:52, Sanne Grinovero sa...@infinispan.org wrote: On 7 July 2014 11:04, Bela Ban b...@redhat.com wrote: How ? I already have an

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Mircea Markus
On Jul 7, 2014, at 9:14, Bela Ban b...@redhat.com wrote: 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

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Bela Ban
Makes sense; I'll try to get a jmc dump On 07/07/14 13:36, Mircea Markus wrote: On Jul 7, 2014, at 10:37, Bela Ban b...@redhat.com wrote: 10x faster? That's surprising for a benchmark which is supposed to be network bound isn't it? I ran 2 IspnPerfTest processes on my local box with

Re: [infinispan-dev] A question and an observation

2014-07-07 Thread Bela Ban
The use case is this: #1 I want to configure all caches from a config XML file #2 The I want to *override* one or two small aspects, such as the transport Ideally, I could define #2 in the config file as well, but that changed from 6 to 7. Note that I don't want to switch to programmatic