/namedCache/loaders/loader/singletonStore/@pushStateWhenCoordinator being ignored?
by Yuri de Wit
I have a declarative cache.xml file that has an entry as follows:
<namedCache name="type-data">
<!-- jmxStatistics enabled="true" / -->
<!-- invocationBatching enabled="true"/ -->
<clustering mode="invalidation">
<!-- l1 enabled="true" lifespan="60000" / -->
<sync replTimeout="20000"/>
</clustering>
<loaders passivation="false" shared="false" preload="false">
<loader class="FileDataCacheStore"
fetchPersistentState="false" purgeSynchronously="true">
<properties>
<property name="location"
value="${data.path}" />
<property name="chunkSize" value="32768"/>
<property name="compressChunks" value="true"/>
</properties>
<singletonStore enabled="true" pushStateWhenCoordinator="false"
pushStateTimeout="20000" />
</loader>
</loaders>
</namedCache>
What I am seeing is that pushStateWhenCoordinator is being ignored. I do see
JAXB calling setPushStateWhenCoordinator as I would expect but when the
unmarshal() is done it's false is still true. And when I stop the
coordinator the 2nd node in the cluster is trying to push it's state to the
store.
Is this a known issue? Or am I doing something wrong?
-- yuri
13 years, 4 months
ispn-arquillian - support for in-VM mode
by Martin Gencur
Hello all,
I would like to mention http://community.jboss.org/message/551784 again.
It's all about implementing new features in
infinispan-arquillian-container, mainly support for embedded/in-VM mode.
Aslak mentioned some advantages of using Arquillian for this kind of
testing. I proposed some solutions in the forum and would like to see
what others opinions/suggestions are.
Cheers
--
Martin Gencur
--
JBoss QE, Enterprise Data Grid
Desk phone: +420 532 294 192, ext. 62192
13 years, 4 months
Logger lookup performance
by Sanne Grinovero
Hi all,
raising some attention here on Pete's suggestions;
over the weekend we fixed this bootstrap performance issue ISPN-1315,
which I had given the name "Reduce number of Logger instances being
created",
after looking at this profiler screenshot:
http://community.jboss.org/servlet/JiveServlet/showImage/2-619820-16841/h...
Now Pete suggested that the JBoss Logging should return the same
instance; TBH from the screenshot all we know is that
LogFactory.getLog(Class) invocations are taking 280 seconds, so I
guess they are actually returning always the same instance, but and
likely the time is spent in finding it. I'll rename the issue.
IMO we should stick with "static final" loggers, unless there are
special reasons (and then please add a comment to clarify it was an
intentional choice).
To focus on this performance issue from the forums [1], Chris Meunier
reports that with this last fix the boot performance is back to 10
seconds from the 3 minutes it was taking, so much better, but are
still 10 seconds looks like a lot, as they are spent in the components
registry - not in network operations.
I'm creating another JIRA but won't be able to work on it soon - have
to focus on Hibernate - could anybody take this over from me? I
wouldn't postpone it, so that Chris on the forums can keep helping us
with it. Please ask him for more profiler details if needed:
1 - http://community.jboss.org/thread/170415?tstart=0
Cheers,
Sanne
13 years, 5 months
cannot compile branch 5.0.x
by Michal Linhard
is it only me?
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
(default-compile) on project infinispan-client-hotrod: Compilation failure
[ERROR]
/home/mlinhard/dev/sources/infinispan50_snapshot/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/impl/RemoteCacheImpl.java:[54,7]
org.infinispan.client.hotrod.impl.RemoteCacheImpl is not abstract and
does not override abstract method set(K,V) in org.infinispan.CacheSupport
m.
--
Michal Linhard
Quality Assurance Engineer
Red Hat Czech s.r.o.
Purkynova 99 612 45 Brno, Czech Republic
phone: +420 532 294 320 ext. 62320
mobile: +420 728 626 363
13 years, 5 months
First (rough) draft of Getting Started Guide
by Pete Muir
I have drafted this out at https://docs.jboss.org/author/display/ISPN/Getting+Started+Guide.
We start with a couple of introductory chapters - a brief overview of what Infinispan offers, instructions for how to download and install infinispan, and instructions on the GUIDemo (as it helps people visualise whats going on). We then move on to the bulk of the guide, in which I want to address the most common reasons people want to try out Infinispan:
* Infinispan as a standalone (local) cache. This also serves as the simplest way to get started with Infinispan, hence it's position at the top of the list!
* Infinispan as a data-grid, running from plain Java SE, in either replicated or distributed mode
* Infinispan as the 2nd level cache for Hibernate
* Accessing Infinispan remotely
* Using Hot Rod
* Using REST
* Using memcached
* Using Infinispan inside a JBoss AS 7 cluster
* Using Infinispan inside another server (e.g. Tomcat, GlassFish)
and finally a common topic
* Monitoring Infinispan
In my experience this represents 95% of the reasons people want to look at Infinispan, so we should hopefully get most people up and running with their use case quickly with these tutorials.
I've built up the tutorials for the first two cases (distributed mode is missing) from the old tutorials to give you an idea of the style, level and content that the other tutorials would contain. Each tutorial would be acompanied by a quickstart (example, sample) that contains the code discussed in the tutorial and is runnable. You can find snapshots of the quickstarts zip at https://hudson.qa.jboss.com/hudson/view/Infinispan/job/Infinispan-Quickst... - this will appear on ci.jboss.org at some point under the job name "Infinispan-Quickstart" but the publishing queue appears to be temporarily broken ;-)
Any comments, thoughts etc.? Are we missing a common use case? Is the explanation too practical and doesn't explain concepts properly?
Once we get this contents flushed out, I would like to get a few volunteers to help with writing up the guides and quickstarts - someone for each topic. I'll help out with editing etc. of course :-)
A few notes:
* I've moved the Scala and Groovy stuff out (to the user guide) as I just don't believe this is really of great interest to the majority of people thinking of using Infinispan
* I haven't migrated the monitoring Infinispan content from SBS, as I think Galder was working on this?
* I haven't linked in the GUIDemo stuff as I want to discuss where this should live with everyone
13 years, 5 months