Help Center/ Distributed Message Service for RocketMQ/ User Guide/ Managing Instances/ Enabling Flexible TPS for a RocketMQ Instance
Updated on 2025-07-11 GMT+08:00

Enabling Flexible TPS for a RocketMQ Instance

TPS (Transaction per second) indicates the total number of produced and consumed messages per second, that is, the total throughput of message production and consumption per second.

When the throughput exceeds flavor's maximum TPS, traffic will be limited, causing failed production and consumption. In this case, enable flexible TPS to increase the TPS.

Flexible TPS allows the TPS of message production and consumption to exceed the baseline limitation. In this case, you will be billed for the excess.

For example, assume that you purchased a RocketMQ 5.x professional edition instance of rocketmq.p2.large.8 with basic TPS 4000 and elastic TPS 2000. Enabling flexible TPS for the instance increases the maximum TPS to 6,000. When the TPS is less than 4,000, fees incur as preconfigured. When the TPS is 4,000–6,000, fees incur for the excess. When the TPS exceeds 6,000, traffic is limited.

Prerequisite

A RocketMQ 5.x professional edition instance is available.

Procedure

  1. Log in to the console.
  2. Click in the upper left corner to select a region.

    DMS for RocketMQ instances in different regions cannot communicate with each other over an intranet. Select a nearest location for low latency and fast access.

  3. Click and choose Middleware > Distributed Message Service for RocketMQ to open the console of DMS for RocketMQ.
  4. Click a RocketMQ instance name to go to the instance details page.
  5. In the Connection area, click next to Flexible TPS.

    • Flexible TPS allows the TPS of message production and consumption to exceed baseline specifications. In this case, you will be billed for the excess.
    • Without flexible TPS, the TPS of message production and consumption is limited to baseline specifications.

  6. Click OK.

Related Documents

  • For details about the elastic TPS charging, see Billing Items.
  • The elastic TPS varies by instance flavor. For details, see Specifications.