<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16520">
</head>
<body>
<div dir="ltr" align="left"><span class="680394002-29112013"><font color="#0000ff" size="2" face="Arial">Hi Dan,</font></span></div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font color="#0000ff" size="2" face="Arial"> I am not using any transactions that span across multiple caches.</font></span></div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font color="#0000ff" size="2" face="Arial">Thanks,</font></span></div>
<div dir="ltr" align="left"><span class="680394002-29112013"><font color="#0000ff" size="2" face="Arial">Faseela</font></span></div>
<br>
<div dir="ltr" lang="en-us" class="OutlookMessageHeader" align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> infinispan-dev-bounces@lists.jboss.org [mailto:infinispan-dev-bounces@lists.jboss.org]
<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></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 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 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 href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
> <a 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 href="http://www.infinispan.org" target="_blank">www.infinispan.org</a>)<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a 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>
</body>
</html>