Configuring client-to-server compression
Version:
Specify how you want to compress the communication between Pega Platform and Cassandra. By using compression, you reduce the size of the data written to disk, and increase read and write throughput.
Configure client-to-server compression by editing the corresponding prconfig.xml
settings.
For more information about specifying settings through the prconfig.xml
file, see Changing node settings by modifying the prconfig.xml file.
-
If you want to use LZ4 compression, set the value of dnode/cassandra_client_compression to LZ4.
This is the default setting for client-to-server compression. -
If you want to use Snappy compression, set the value of dnode/cassandra_client_compression to SNAPPY.
-
If you do not want to use client-to-server compression, set the value of dnode/cassandra_client_compression to NONE.
- 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.
- Configuring the Cassandra cluster
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.