Softlayer API是否有速率限制 [英] Is there a rate limit on Softlayer API

查看:60
本文介绍了Softlayer API是否有速率限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为我们的产品运行一些负载测试,其中包括对Softlayer API的一些REST调用. 有时我们的rest调用(Softlayer)无法返回任何值.我们正在尝试50个以上的并发请求.并发请求是否有任何限制?

We are running some load test for our product and it includes some REST calls to Softlayer API. Sometimes our rest calls (Softlayer) fails to return any value. We are trying 50+ concurrent requests. Are there any limitations on concurrent requests ?

赞赏有关此的任何信息.

Appreciate any information on this.

推荐答案

每秒限制有 50个api调用.它是按用户应用的.

There exist a limit of 50 api calls per second. It is applied per-user.

如果超出限制,则将显示以下异常:

If you exceed the limit, an exception like this should be displayed:

错误":每1秒超过50个请求的速率限制."

"error": "Rate limit of 50 requests for every 1 second(s) exceeded."

这篇关于Softlayer API是否有速率限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆