QPS limits

更新时间: 2026-01-16 04:11:14

ApsaraMQ for MQTT limits the frequency of API calls. These limits are measured in queries per second (QPS). If you exceed a QPS limit, your requests are throttled. Throttling can impact your business. To avoid service disruptions, call APIs within the specified limits.

ApsaraMQ for MQTT server-side API calls have QPS limits. These limits fall into two categories:

  • Per-user API QPS limits: If you exceed this limit, your requests are throttled. Service guarantees under the Service-Level Agreement (SLA) apply only to traffic within the specified limits. For the specific QPS limits for each API, see Table 1.

  • Per-source IP address QPS limits: If you exceed this limit, the source IP address is blocked.

    Note

    The global QPS limit for a single source IP address is 300 for all APIs.

Table 1. Per-user API QPS limits

API

QPS 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

RegisterCaCertificate

500

ActiveCaCertificate

500

InactivateCaCertificate

500

ListCaCertificate

500

GetCaCertificate

500

GetRegisterCode

500

DeleteCaCertificate

500

ActiveDeviceCertificate

500

InactivateDeviceCertificate

500

ListDeviceCertificate

500

ListDeviceCertificateByCaSn

500

GetDeviceCertificate

500

DeleteDeviceCertificate

500

上一篇: RAM authentication 下一篇: Error codes