Topology Example

Topology includes server name, cluster information, and connection details.

Sample of one server, one partition without fault tolerance
<Topology>
   <Server clusterIndex="1" backupIndex="1">
       <Name>server1</Name>
       <Connection>localhost:5051</Connection>
   </Server>
</Topology>

Sample of single partition with two servers for fault tolerance
<Topology>
   <Server clusterIndex="1" backupIndex="1">
       <Name>server1</Name>
       <Connection>Host1:5051</Connection>
   </Server>
   <Server clusterIndex="1" backupIndex="2">
       <Name>server2</Name>
       <Connection>Host2:5052</Connection>
   </Server>     
</Topology>