Enabling network backpressure
About this task
You can enable the DataStax Enterprise (DSE) backpressure strategy through a Configuration Profile in Lifecycle Manager. The backpressure strategy avoids overloading the server with either client or replica requests (read/write/range), which could make the server unresponsive or lead to long garbage collections and out of memory errors.
Enabling backpressure signals the coordinator node to apply the specified backpressure strategy to each mutation that is sent to replicas.
After enabling backpressure, select the Thread Pool (TP) metrics to monitor and then add a graph to the OpsCenter Dashboard to display the results of the metrics.
Procedure
-
In the OpsCenter interface, click Lifecycle Manager in the upper left.
-
In the Lifecycle Manager interface, click Config Profiles in the left navigation.
-
Click the pencil icon for the configuration profile where you want to enable backpressure.
-
In the Config Profiles window, select cassandra.yaml in the left navigation.
-
Scroll the list of configuration options to locate Back Pressure, and then select the checkbox for back_pressure_enabled.
-
Click Save to save the changes.
-
-
Add a performance graph to the OpsCenter Dashboard and select the metrics to display.
See the TP backpressure network metrics that you can select in the graph.