This topic describes the call limits for different API operations on a Message Queue for MQTT broker.

Calls to the API operations on a Message Queue for MQTT broker are limited by queries per second (QPS). Message Queue for MQTT has the following two types of QPS limits:
  • The QPS limit on a specific API operation. If the QPS limit is exceeded, calls to the API operation are throttled. Service level agreement (SLA) guarantees are provided only for calls within the limit.
  • The outbound QPS limit on a single IP address. If the QPS limit is exceeded, the IP address is blocked.
    Note The outbound QPS limit on a single IP address is globally applied and is 300 for each API operation.

The following table lists the QPS limits on different API operations.

API operation QPS limit on the API operation
ApplyToken 500
QueryToken 100
RevokeToken 5
CreateGroupId 10
DeleteGroupId 10
ListGroupId 10
RegisterDeviceCredential 5000
GetDeviceCredential 5000
UnRegisterDeviceCredential 5000
RefreshDeviceCredential 5000
QueryMqttTraceDevice 500
QueryMqttTraceMessageOfClient 500
QueryMqttTraceMessagePublish 500
QueryMqttTraceMessageSubscribe 500
SendMessage 1000
QuerySessionByClientId 500
BatchQuerySessionByClientIds 100