云消息队列 MQTT 版针对API的调用频率有限制,即QPS限制。超过限制则会被限流,这可能会影响您的业务,请合理调用。

云消息队列 MQTT 版服务端接口的调用有QPS限制,分为两类:
  • 单用户的API QPS限制:超过了该限制则会被限流,只保证符合SLA的流量。具体每个API的QPS限制如表1所示。
  • 单个IP出口QPS限制。超过了该限制则会被完全拉黑。
    说明 单个IP出口QPS为全局开关,所有API的限制值均为300。
表 1. 单用户的API QPS限制
APIQPS限制
ApplyToken100
QueryToken100
RevokeToken5
CreateGroupId10
DeleteGroupId10
ListGroupId10
RegisterDeviceCredential500
GetDeviceCredential500
UnRegisterDeviceCredential500
RefreshDeviceCredential500
QueryMqttTraceDevice500
QueryMqttTraceMessageOfClient500
QueryMqttTraceMessagePublish500
QueryMqttTraceMessageSubscribe500
SendMessage1000
RegisterCaCertificate500
ActiveCaCertificate500
InactivateCaCertificate500
ListCaCertificate500
GetCaCertificate500
GetRegisterCode500
DeleteCaCertificate500
ActiveDeviceCertificate500
InactivateDeviceCertificate500
ListDeviceCertificate500
ListDeviceCertificateByCaSn500
GetDeviceCertificate500
DeleteDeviceCertificate500