每秒查询率QPS(Query Per Second)表示每秒向服务器发送的请求数量峰值,即每个API每秒可以允许请求的并发上限数。如果超过限制会被限流,可能影响您的业务,因此需要您合理使用。通过阅读本文,您可以了解音视频通信单用户的API QPS限制。
单用户QPS限制
单用户的API QPS限制是指以阿里云账号为基准,该账号及其RAM用户每秒或每分钟调用某API的频率上限。例如:某阿里云账号及其对应5个RAM用户同时调用接口StartMPUTask(此接口单用户API QPS限制为500次/秒),则该阿里云账号及其对应5个RAM用户调用此API的频率总和不得超过500次/秒。
音视频通信单用户API QPS限制如下所示:
| API | 单用户QPS限制 |
|---|---|
| ModifyApp | 1000次/分钟 |
| DescribeApps | 1000次/分钟 |
| DescribeAppKey | 1000次/分钟 |
| API | 单用户QPS限制 |
|---|---|
| DeleteChannel | 无 |
| RemoveTerminals | 1000次/分钟 |
| DescribeChannelUsers | 100次/秒 |
| DescribeUserInfoInChannel | 100次/秒 |
| DescribeChannelParticipants | 1000次/分钟 |
| API | 单用户QPS限制 |
|---|---|
| StartMPUTask | 500次/秒 |
| GetMPUTaskStatus | 4000次/分钟 |
| StopMPUTask | 500次/秒 |
| UpdateMPUTask | 4000次/分钟 |
| API | 单用户QPS限制 |
|---|---|
| CreateAutoLiveStreamRule | 1000次/分钟 |
| DeleteAutoLiveStreamRule | 1000次/分钟 |
| DescribeAutoLiveStreamRule | 1000次/分钟 |
| EnableAutoLiveStreamRule | 1000次/分钟 |
| DisableAutoLiveStreamRule | 1000次/分钟 |
| UpdateAutoLiveStreamRule | 1000次/分钟 |
| API | 单用户QPS限制 |
|---|---|
| DeleteMPULayout | 10次/秒 |
| CreateMPULayout | 10次/秒 |
| DescribeMPULayoutInfoList | 10次/秒 |
| ModifyMPULayout | 10次/秒 |
| API | 单用户QPS限制 |
|---|---|
| AddRecordTemplate | 100次/秒 |
| DeleteRecordTemplate | 10次/秒 |
| UpdateRecordTemplate | 100次/秒 |
| DescribeRecordTemplates | 100次/秒 |
| DescribeRecordFiles | 10次/秒 |
| StartRecordTask | 500次/秒 |
| StopRecordTask | 4000次/分钟 |
| UpdateRecordTask | 100次/秒 |
| API | 单用户QPS限制 |
|---|---|
| CreateEventSubscribe | 1000次/分钟 |
| DeleteEventSubscribe | 1000次/分钟 |