[infinispan-dev] Performance of Infinispan-Query Module
Sanne Grinovero
sanne at infinispan.org
Tue Oct 22 09:55:18 EDT 2013
Hi Faseela,
did you run a large scale test? there is a constant cost for the Query
creation and index engine initialization; if the number of entries to
iterate through is very small then there is no advantage in running a
Query.
Also, to keep in mind that you can't use iterate() on a distributed or
replicated cache as it won't return results which are not stored
locally.
Sanne
On 22 October 2013 14:36, Faseela K <faseela.k at ericsson.com> wrote:
> Hi,
>
> I tried a simple performance test for infinispan-query module using the
> example mentioned in :
>
> https://docs.jboss.org/author/display/ISPN/Querying+Infinispan
>
> What I see is, the querying is much slower than iterating through the
> cache entries and checking for a match.
> Is this behaviour correct, or am I missing some configuration?
> My infinispan configuration is :
>
> <infinispan
> xsi:schemaLocation="urn:infinispan:config:5.2
> http://www.infinispan.org/schemas/infinispan-config-5.2.xsd"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="urn:infinispan:config:5.2">
> <default>
> <indexing enabled="true" indexLocalOnly="true">
> <properties>
> <property name="default.directory_provider"
> value="ram" />
> </properties>
> </indexing>
> </default>
> </infinispan>
>
> Thanks,
> Faseela
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
More information about the infinispan-dev
mailing list