Enabling network backpressure

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

  1. In the OpsCenter interface, click Lifecycle Manager in the upper left.
  2. In the Lifecycle Manager interface, click Config Profiles in the left navigation.
    1. Click the pencil icon for the configuration profile where you want to enable backpressure.
    2. In the Config Profiles window, select cassandra.yaml in the left navigation.
    3. Scroll the list of configuration options to locate Back Pressure, and then select the checkbox for back_pressure_enabled.
    4. Click Save to save the changes.
  3. 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.