Double Shards Binary Provider

JFrog Installation & Setup Documentation

Content Type
Installation & Setup

The double-shards template is used for pure sharding configuration that uses 2 physical mounts with 1 copy (which means each artifact is saved only once).

double-shards template configuration

If you choose to use the double-shards template, your binarystore.xml configuration file should look like this:

<config version="4">
    <chain template="double-shards"/>

What's in the template

While you don't need to configure anything else in your binarystore.xml, this is what the double-shards template looks like under the hood.

<chain> <!-- template="double-shards" -->
    <provider id="cache-fs" type="cache-fs">
        <provider id="sharding" type="sharding">
            <sub-provider id="shard-fs-1" type="state-aware"/>
            <sub-provider id="shard-fs-2" type="state-aware"/>

<provider id="shard-fs-1" type="state-aware">
<provider id="shard-fs-2" type="state-aware">

For details about the cache-fs provider, see Cached Filesystem Binary Provider.

For details about the sharding provider, see Sharding Binary Provider .Sharding Binary Provider

For details about the state-aware sub-provider, see State-Aware Binary Provider.