What is the API usage (requests per seconds) limit of Amadeus test environment?

两盒软妹~` 提交于 2021-01-29 08:25:38

问题


I am trying to call Amadeus API in parallel (/v1/shopping/hotel-offers) in the test environment. Unfortunately when I start 3 threads simultaneously, then only the very first one gets the OK response and the others get HTTP 429 Too Many Requests responses.

I have not exceeded the monthly limit quota yet, so that error is really related to the parallel execution.

Does anybody know what are the exact limits (#requests/sec or #requests in parallel) ? Is it even possible to have more than one request at a time ?


回答1:


The throttling is not the same depending of the environment:

Test: 10 transactions per sec per user (10 TPS/user) -> With the constrains: not more than 1 request every 100ms.

Production: 20 transactions per sec per user (20 TPS/user) -> With the constraint: not more than 1 request every 50ms.



来源:https://stackoverflow.com/questions/53602583/what-is-the-api-usage-requests-per-seconds-limit-of-amadeus-test-environment

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!