Increasing read performance by adding replicas

Increase DSE Search read performance by configuring replicas.

You can increase DSE Search read performance by configuring replicas just as you do in Cassandra. You define a strategy class, the names of your data centers, and the number of replicas you want. For example, you can add replicas using the NetworkToplogyStrategy replica placement strategy. To configure this strategy, you can use CQL.

Procedure

For example, if you are using a PropertyFileSnitch, perform these steps:

  1. Check the data center names of your nodes using the nodetool command.
    ./nodetool -h localhost ring
    The data center names, DC1 and DC2 in this example, must match the data center name configured for your snitch.
  2. Start CQL on the DSE command line and create a keyspace that specifies the number of replicas you want.
    Set the number of replicas in data centers, one replica in data center 1 and three in data center 2. For more information about adding replicas, see Choosing Keyspace Replication Options.