Table of Contents

Configuring the Cassandra cluster


Only available versions of this content are shown in the dropdown

Pega Platform comes with an internal Cassandra cluster to which you can connect through a Decision Data Store data set. Before connecting to the cluster through Pega Platform, perform the following steps to achieve optimal performance and data consistency across the nodes in the cluster.

  1. Sizing a Cassandra cluster

    Achieve high performance in terms of data replication and consistency by estimating the optimal database size to run a Cassandra cluster.

  2. Defining Pega Platform access to an external Cassandra database

    Manage Pega Platform access to your external Cassandra database resources by creating Cassandra user roles with assigned permissions.

  3. Configuring a Cassandra cluster for internal encryption

    Protect data that is transferred internally between Decision Data Store (DDS) nodes by using node-to-node encryption.

  4. Configuring a Cassandra cluster for external encryption

    Establish a secure channel for data transfers between Pega client machines and a Cassandra cluster by using client-to-server encryption.

  5. Configuring compaction settings for SSTables

    Maintain the good health of the Cassandra cluster by tuning compaction throughput for write-intensive workloads.

  6. Best practices for disk space management

    You can maintain the high performance of decision services in your application by following best practices for allocating disk space to the Decision Data Store (DDS) nodes.

  7. Configuring Cassandra compression

    You can customize the compression settings for Cassandra SSTables to best suit your application's requirements. By using compression, you reduce the size of the data written to disk, and increase read and write throughput.

  8. Configuring key cache settings

    Maintain fast read access to Cassandra SSTables by tuning the use of the key cache separately for each table.

  9. Configuring the retry policy

    You can increase Cassandra's fault tolerance by configuring how many times you want to retry queries that have failed. By retrying a failed Cassandra query you can circumvent temporary issues, for example, network-related errors.

  10. Configuring multiple data centers

    Ensure the continuity of your online services by adding a secondary Cassandra data center.

  11. 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.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.