<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
1. share the same grid cache between the master and the slaves</blockquote><div><br></div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

Infinispan has a flat structure. The key has to contain:</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

 - the index name</blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

 - the chunk name </blockquote><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

<span style="border-collapse:separate;font-family:arial;font-size:small">Both with essentially be the unique identifier. </span></blockquote><div><br></div><div>I suppose in this idea all indexes are stored in a one single grid. What about one Infinispan grid per directory, similarly to RAMDirectory or FSDirectory? IMHO it could make some simplifications i.e. in metadata or key names. </div>
<div>Are there any Infinispan drawbacks to have a high number of caches in the network? Sharing JGroups channels can help in that?</div><div><br></div><div>_</div><div>Lukasz</div><div> </div></span><br><div class="gmail_quote">

2009/7/9 Emmanuel Bernard <span dir="ltr">&lt;<a href="mailto:emmanuel@hibernate.org" target="_blank">emmanuel@hibernate.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><br>
On  Jul 9, 2009, at 16:16, Manik Surtani wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In the case of replication, make sure a FD back end can be activated in case the grid goes to the unreachable clouds of total inactivity.<br>
</blockquote>
<br>
FD backend?  I presume you mean a cache store.  Have a look at the different cache stores we ship with, I reckon a FileCacheStore would do the trick for you.<br>
<br>
<a href="http://infinispan.sourceforge.net/4.0/apidocs/org/infinispan/loaders/CacheStore.html" target="_blank">http://infinispan.sourceforge.net/4.0/apidocs/org/infinispan/loaders/CacheStore.html</a><br>
<a href="http://infinispan.sourceforge.net/4.0/apidocs/org/infinispan/loaders/file/FileCacheStore.html" target="_blank">http://infinispan.sourceforge.net/4.0/apidocs/org/infinispan/loaders/file/FileCacheStore.html</a><br>


</blockquote>
<br></div>
Yes I meant FS as FileSystem, but any backend would do (though DB would be a bad choice).<div><div></div><div><br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org" target="_blank">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>
</div></div></blockquote></div><br>