Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Configuring the Cassandra cluster

Updated on July 5, 2022

This content applies only to On-premises and Client-managed cloud environments

Before you connect Pega Platform to a Cassandra cluster to use it as a repository for decision management data, configure the Cassandra cluster to achieve optimal performance and data consistency across the nodes.

For more information on the deployment options for Cassandra, see Cassandra overview.

  1. Configuring the consistency level

    Achieve the level of consistency that you want by deciding how many Cassandra nodes in a cluster must validate a write operation or respond to a read operation to declare success.

  2. Configuring the replication factor

    Ensure reliability and fault tolerance by controlling how many data replicas you want to store across a Cassandra cluster.

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

  4. Configuring a Cassandra cluster for internal encryption (deprecated)

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

  5. Configuring a Cassandra cluster for external encryption

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

  6. Configuring compaction settings for SSTables (deprecated)

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

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

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

  9. Configuring key cache settings

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

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

  11. Configuring multiple data centers

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

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

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us