1 grid.getNumberOfReplicas

Release 2017.3

Tag available since version 2017.3.

Returns the number of nodes replication for the grid provided. The number of replicas is setted by the administrator on the grid definition.

<grid.getNumberOfReplicas />
Example
Copy
<xsql-script>
    <body>
        <println>... Number of replicas for the grid: <grid.getNumberOfReplicas name="demo_grid" /></println>
    </body>
</xsql-script>
... Number of replicas for the grid: 4

2 Estimation nodes replication

The number of nodes replication depends of the installation, the number of nodes and the data.

# nodes # replicas
< 10 16
< 50 8
< 100 4
< 500 2
< 1000 1