All Products
Search
Document Center

ApsaraMQ for MQTT:Limits on QPS

Last Updated:Oct 31, 2023

ApsaraMQ for MQTT limits the frequency at which an API operation is called. The frequency is measured by queries per second (QPS). If the number of requests that you initiate to call an API operation reaches the specified upper limit, throttling is triggered, and your business may be interrupted.

Calls to the API operations on an ApsaraMQ for MQTT broker are limited. The following types of limits are imposed on QPS:

  • QPS for a single user to call an API operation: If this limit is exceeded, the traffic is throttled. Only traffic that meets the Service Level Agreement (SLA) is guaranteed. For information about the limit on the QPS to call each API operation, see Table 1. QPS for a single user to call an API operation.

  • Outbound QPS of a single IP address. If this limit is exceeded, the IP address is blocked.

    Note

    The limit on the outbound QPS of a single IP address is globally applied and is 300 for each API operation.

Table 1. QPS for a single user to call an API operation

API operation

Limit

ApplyToken

100

QueryToken

100

RevokeToken

5

CreateGroupId

10

DeleteGroupId

10

ListGroupId

10

RegisterDeviceCredential

500

GetDeviceCredential

500

UnRegisterDeviceCredential

500

RefreshDeviceCredential

500

QueryMqttTraceDevice

500

QueryMqttTraceMessageOfClient

500

QueryMqttTraceMessagePublish

500

QueryMqttTraceMessageSubscribe

500

SendMessage

1000

QuerySessionByClientId

500

BatchQuerySessionByClientIds

100