1 個回答
- 最新
- 最多得票
- 最多評論
0
29 sec is the max timeout as of now which works for a majority of use cases. It would be better if you explain what kind of request is it that lasts more than 29 secs. Keep in mind that there might be proxies in the path whose timeout you may not be able to control.
ALB does not have such a limit. It might be a better solution in this case, without knowing anything else. But you won't benefit from rate limiting, throttling, API Keys, etc.
Separating request into POST and then GET polling is an alternative. WebSockets might be another one.
That said, this timeout may or may not be under revision. Even if it is, 29 sec is the limit right now.
已回答 3 年前
相關內容
- AWS 官方已更新 10 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Can we petition AWS to increase the API gateway timeout limit of 29 seconds? I have been searching for days a solution using my server less architecture and its just post after post after post about people running into the same issue of needing to find a work around for this limit of 29 seconds. Having to rebuild the architecture or doing some work around using more AWS services shouldn't be a justified answer. If a user has to wait then a user has to wait, the user has no idea if they are waiting for the ALB response or the API Gateway response. Let the engineers manage the timeout/errors.