The following table lists the elements in the remote binary provider template.
type | remote |
connectionTimeout | Default: 5000 ms Time before timing out an outgoing connection. |
socketTimeout | Default: 15000 ms Time before timing out an established connection (i.e. no data is sent over the wire). |
maxConnections | Default: 200 Maximum outgoing connections from the provider. |
connectionRetry | Default: 2 How many times to retry connecting to the remote endpoint. |
zone | The name of the sharding zone the provider is part of (only applicable under a sharding provider). |
checkPeriod | Default: 15000 ms The minimum time to wait between trying to re-activate the provider if it had fatal errors at any point. |
The following is an example how a remote binary provider may be configured. To see how this can be integrated with a complete binarystore.xml
configuration, please refer to the example under Sharding-Cluster Binary Provider.
<provider id="remote" type="remote"> <checkPeriod>15000</checkPeriod> <connectionTimeout>5000</connectionTimeout> <socketTimeout>15000</socketTimeout> <maxConnections>200</maxConnections> <connectionRetry>2</connectionRetry> <zone>remote</zone> </provider> |