Message Queue for Apache RocketMQ limits the frequency that a single user calls an API operation. The frequency is measured by the queries per second (QPS). Throttling is triggered when the number of calls to an API operation per second exceeds the maximum QPS. Throttling may interrupt your services. Therefore, call an API operation based on your needs. This topic describes the maximum QPS of each API operation allowed by Message Queue for Apache RocketMQ for a single user.

What is the maximum QPS per user of an API operation?

The maximum QPS per user of an API operation indicates the maximum number of calls that can be initiated by an Alibaba Cloud account and its Resource Access Management (RAM) users to an API operation per second or minute.

For example, the maximum QPS of the OnsRegionList API operation for a single user is 50, and one Alibaba Cloud account and its five RAM users call this API operation. Then, the six accounts can call the OnsRegionList API operation no more than 50 times per second.

Notice
  • Not all API operations implement throttling against individual users. The following tables describe the details.
  • Take note of the units of QPS in all the following tables. The default unit is times/second. Other units, for example, times/minute, are expressly given if used.

Region management

Operation Maximum QPS per user
OnsRegionList 50

Service activation

Operation Maximum QPS per user
OpenOnsService None

Instance management

Operation Maximum QPS per user
OnsInstanceBaseInfo 50
OnsInstanceCreate 10
OnsInstanceDelete 10
OnsInstanceInServiceList 50
OnsInstanceUpdate 10

Topic management

Operation Maximum QPS per user
OnsTopicCreate 1
OnsTopicDelete 1
OnsTopicList 10
OnsTopicStatus 1
OnsTopicUpdate 10
OnsTopicSubDetail 10

Group management

Operation Maximum QPS per user
OnsGroupCreate 1
OnsGroupDelete 1
OnsGroupList 10
OnsGroupSubDetail 10
OnsGroupConsumerUpdate 10

Tag management

Operation Maximum QPS per user
TagResources None
ListTagResources 10
UntagResources 10

Consumption management

Operation Maximum QPS per user
OnsConsumerAccumulate 10
OnsConsumerStatus 10
OnsConsumerGetConnection 10
OnsConsumerResetOffset 10
OnsConsumerTimeSpan 10
OnsMessagePush 10

Message query

Operation Maximum QPS per user
OnsMessageTrace 10
OnsMessageGetByMsgId 10
OnsMessageGetByKey 10
OnsMessagePageQueryByTopic 10 times/minute

Publishing and subscription statistics

Operation Maximum QPS per user
OnsTrendTopicInputTps 15 times/minute
OnsTrendGroupOutputTps 15 times/minute

Message tracing

Operation Maximum QPS per user
OnsTraceGetResult 10
OnsTraceQueryByMsgId 30 times/minute
OnsTraceQueryByMsgKey 30 times/minute

Dead-letter queues

Operation Maximum QPS per user
OnsDLQMessageGetById 10
OnsDLQMessagePageQueryByGroupId 10
OnsDLQMessageResendById 10