<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>On 10 Jul 2012, at 18:28, Galder Zamarreño wrote:</div><div><blockquote type="cite"><div>Firstly, we should strive to be consistent with how our XML configuration works, so IMO, boo-moo should be booMoo (I'm talking about backup-strategy here).<br></div></blockquote>+1</div><div><br><blockquote type="cite"><div><br>Now, I'm confused with the global settings. What backupStrategy should define is how to communicate with the other site, i.e. if you wanna use a different bind address, different transport protocol…etc. This is the same that we do with the global transport settings. We don't define whether backup (or in clustering, replication or invalidation..etc, is sync or async) is sync or async at this level. This configuration, sync/async, belongs to the cache level IMO.<br></div></blockquote>gotcha&nbsp;</div><div>Indeed that's why we have the default cache for: all the other caches can inherit the defaults from there.&nbsp;<br><blockquote type="cite"><div><br>Does it make sense to have/define a site without the transport that you're gonna use to configure with it? You could potentially have N different networks to connect to N sites. If you assume the default, which default is it?<br></div></blockquote>The actual transport is configured at jgroups level in RELAY2 and the matching between ISPN and jgroups is made based on the name of the site.</div><div><br><blockquote type="cite"><div><br>Line 31, what about this config instead?<br><br><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;syncBackup name="NYC"/&gt;<br><br>You could still have &lt;backup&gt; for when you want to use default mode as per the cache. So, you'd have: backup, syncBackup, asyncBackup.<br></div></blockquote><div>That feels a bit like mixing the attribute with the element, but that's precisely what we do with the &lt;async&gt; and &lt;sync&gt; under the &lt;clustering&gt; tag.</div><div>I guess it's more a matter of taste, but I rather stick with simple backup &nbsp;- any other oppinions?&nbsp;</div><br><blockquote type="cite"><div><br>And line 25: &lt;backups&gt; instead of &lt;sites&gt;<br></div></blockquote></div><br><div>Thanks for the excellent feedback! I've updated the document and added some more examples: &nbsp;<a href="https://gist.github.com/3059621">https://gist.github.com/3059621</a></div></body></html>