Re: [infinispan-dev] LevelDBStore's expiryEntryQueue

2014-07-07 Thread Dan Berindei
On Fri, Jul 4, 2014 at 6:09 PM, Pedro Ruivo pe...@infinispan.org wrote: Hi guys, Is there a way to replace the expiryEntryQueue with a non-blocking structure? Did you try configuring levelDBStore.expiryQueueSize = MAX_INT? Long history: In high throughput systems, this queue gets full

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

[infinispan-dev] Example server config tests disabled?

2014-07-07 Thread Martin Gencur
Hi, looks like all example config tests were marked as Unstable and hence disabled. I see a note See ISPN-4026 in ExampleConfigsIT.java and it leads to https://issues.jboss.org/browse/ISPN-4026. This would be fine if not all tests for all example configs were disabled. As a result, tests for

Re: [infinispan-dev] Example server config tests disabled?

2014-07-07 Thread Sanne Grinovero
On 7 July 2014 10:10, Martin Gencur mgen...@redhat.com wrote: Hi, looks like all example config tests were marked as Unstable and hence disabled. I see a note See ISPN-4026 in ExampleConfigsIT.java and it leads to https://issues.jboss.org/browse/ISPN-4026. This would be fine if not all tests

Re: [infinispan-dev] Example server config tests disabled?

2014-07-07 Thread Pedro Ruivo
They are running in a different group:

Re: [infinispan-dev] Example server config tests disabled?

2014-07-07 Thread Martin Gencur
On 7.7.2014 11:50, Pedro Ruivo wrote: They are running in a different group:

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

Re: [infinispan-dev] Clustered Listener

2014-07-07 Thread William Burns
On Fri, Jul 4, 2014 at 10:41 AM, Pierre Sutra pierre.su...@unine.ch wrote: Hello, Are you talking about non clustered listeners? It seems unlikely you would need so many cluster listeners. Cluster listeners should allow you to only install a small amount of them, usually you would have only