<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Faseela,<br>
<br>
Are you using only the Map API or also using Query or maybe plan
adding it later? If so, then needlessly splitting the data into
multiple smaller caches might became a problem for Query because
it is not capable to search across multiple caches at the same
time. If your domain requires queries across multiple caches
you'll have to execute it manually on each one and collect the
results - quite a nuissance. This point is strictly from Query
standpoint; ignore if it's not in your use case.<br>
<br>
Cheers,<br>
Adrian<br>
<br>
On 11/29/2013 04:41 AM, Faseela K wrote:<br>
</div>
<blockquote
cite="mid:B14421FA3F549F4A877442542D16672C11326E@ESESSMB109.ericsson.se"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16520">
<div dir="ltr" align="left"><span class="680394002-29112013"><font
color="#0000ff" face="Arial" size="2">Hi Dan,</font></span></div>
<div dir="ltr" align="left"><span class="680394002-29112013"></span> </div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font
color="#0000ff" face="Arial" size="2"> I am not using any
transactions that span across multiple caches.</font></span></div>
<div dir="ltr" align="left"><span class="680394002-29112013"></span> </div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font
color="#0000ff" face="Arial" size="2">Thanks,</font></span></div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font
color="#0000ff" face="Arial" size="2">Faseela</font></span></div>
<br>
<div dir="ltr" class="OutlookMessageHeader" lang="en-us"
align="left">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev-bounces@lists.jboss.org">infinispan-dev-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:infinispan-dev-bounces@lists.jboss.org">mailto:infinispan-dev-bounces@lists.jboss.org</a>]
<b>On Behalf Of </b>Dan Berindei<br>
<b>Sent:</b> Thursday, November 28, 2013 9:12 PM<br>
<b>To:</b> infinispan -Dev List<br>
<b>Cc:</b> Jane Jojo<br>
<b>Subject:</b> Re: [infinispan-dev] Doubt Regarding
Infinispan Cache Creation limit<br>
</font><br>
</div>
<div dir="ltr">There is some extra cost if you have transactions
that span multiple caches: each cache is registered as a
separate XA resource with the Transaction Manager. With a single
cache, there would be a single prepare/commit RPC, regardless of
how many keys the transaction modified. With multiple caches,
there are as many prepare and commit RPCs as there are caches
touched by the transaction.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Nov 28, 2013 at 5:28 PM, Mircea
Markus <span dir="ltr">
<<a moz-do-not-send="true"
href="mailto:mmarkus@redhat.com" target="_blank">mmarkus@redhat.com</a>></span>
wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px
0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
Hi Fassela,<br>
<br>
In future please post these kind of questions on the
infinsipan forum so that other can benefit from them as well
;)<br>
<div class="im"><br>
On Nov 28, 2013, at 10:08 AM, Faseela K <<a
moz-do-not-send="true"
href="mailto:faseela.k@ericsson.com">faseela.k@ericsson.com</a>>
wrote:<br>
<br>
> Hello,<br>
><br>
> Is there any limitation on the number of
infinispan caches that can be created, in a clustered
environment?<br>
<br>
</div>
I know users that created thousands, I'm not aware of an
upper bound but creating a cache certainly brings it cost.<br>
<div class="im"><br>
><br>
> Also, is there any performance difference
between the below two cases :<br>
><br>
> Case 1 : Constructing a cache with 10000
entries<br>
> Case 2 : Splitting the above cache into
100 caches of 100 entries.<br>
><br>
> Entry count is same in both the cases, but will
there be any significant performance overhead in creating
100 caches?<br>
<br>
</div>
creating the cache has it's cost, but once it is created,
the performance should be pretty much the same.<br>
<br>
><br>
> Thanks,<br>
> Faseela<br>
><br>
> _______________________________________________<br>
> infinispan-dev mailing list<br>
> <a moz-do-not-send="true"
href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
> <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/infinispan-dev"
target="_blank">
https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Mircea Markus<br>
Infinispan lead (<a moz-do-not-send="true"
href="http://www.infinispan.org" target="_blank">www.infinispan.org</a>)<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/infinispan-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
infinispan-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></pre>
</blockquote>
<br>
</body>
</html>