All Products
Search
Document Center

ApsaraMQ for MQTT:QPS limits

Last Updated:Oct 13, 2026

ApsaraMQ for MQTT limits the rate at which each API operation can be called, measured in queries per second (QPS). Requests that exceed these limits are throttled or blocked, depending on the type of limit.

Limit types

Two types of QPS limits apply to API operations on an ApsaraMQ for MQTT broker:

Limit type

Scope

Threshold

Behavior when exceeded

Per-user limit

Single user, per API operation

Varies by operation. See Per-user QPS limits by API operation below.

Throttling is triggered. Only traffic within the Service Level Agreement (SLA) is guaranteed.

Per-IP limit

Single IP address, per API operation

300 QPS (globally applied)

The IP address is blocked.

Note

If your application is throttled, implement exponential backoff with retry logic to avoid cascading failures.

Per-user QPS limits by API operation

Token management

API operation

QPS limit

ApplyToken

100

QueryToken

100

RevokeToken

5

Group management

API operation

QPS limit

CreateGroupId

10

DeleteGroupId

10

ListGroupId

10

Device credential management

API operation

QPS limit

RegisterDeviceCredential

500

GetDeviceCredential

500

UnRegisterDeviceCredential

500

RefreshDeviceCredential

500

Trace and diagnostics

API operation

QPS limit

QueryMqttTraceDevice

500

QueryMqttTraceMessageOfClient

500

QueryMqttTraceMessagePublish

500

QueryMqttTraceMessageSubscribe

500

Messaging

API operation

QPS limit

SendMessage

1,000

Session management

API operation

QPS limit

QuerySessionByClientId

500

BatchQuerySessionByClientIds

100