Modifying Cassandra node routing policies
Maintain high performance and short write times by changing the default node routing policies that limit the Cassandra-Cassandra network activity.
By default, when Pega Platform connects to Cassandra, the DataStax
token aware policy routes requests to Cassandra nodes. The goal of that policy is to
always route requests to nodes that hold the requested data, which reduces the
amount of Cassandra-to-Cassandra network activity through the following actions:
- Calculating the token for the request by creating a murmur3 hash function of the partition key for the requested or written data.
- Determining the list of potential nodes to which to send data by creating a group of nodes whose token range contains the token that you calculated.
- Choosing one of the nodes in the list to which to send the request, with the local data center as the priority.