apprunner-roadmap icon indicating copy to clipboard operation
apprunner-roadmap copied to clipboard

Documentation: Clarify how long requests can last

Open jvisker opened this issue 3 years ago • 7 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do * not help prioritize the request If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request Document how long requests can last. Empirically it looks like they are always cut off at 2 minutes, but this repost question and comment seem to indicate 30 seconds (https://repost.aws/questions/QUK3YcHzS6SVCvbF-UkWptOw/app-runner-request-timeout-http-503).

jvisker avatar Jan 14 '22 18:01 jvisker

I have an answer from AWS support that it is currently hard-capped at 30 seconds, and it's a known limitation of AppRunner. AWS support asked me to open an issue here, which I will do shortly (separately from this one)

suzukieng avatar Jan 18 '22 07:01 suzukieng

See #104

suzukieng avatar Jan 18 '22 09:01 suzukieng

Can I piggy back on this to also request that this be documented:

  • Maximum request and response sizes and timeouts, both for incremental bytes and total duration. There should be a "limits" section in the doc, like all other aws services.
  • Is HTTP 1 or 2 (and persistent connections) supported to router and/or to the container instances.
  • What TLS cipher suites are required

kjpgit avatar Mar 14 '22 17:03 kjpgit

Thank you for these suggestions. Taking a look.

keerataws avatar Mar 28 '22 19:03 keerataws

Is there any strong reason for 30s timeouts?

That makes App Runner badly suited for workloads that deal with long running jobs, like analytics.

CarlosDomingues avatar Jun 08 '22 19:06 CarlosDomingues

Yes, this is a known limitation at the moment and is a roadmap issue. The service team is working on it. Sorry, if this limitation is causing inconvenience for you.

keerataws avatar Jun 08 '22 21:06 keerataws

@keerataws

Thank you for the quick response. Since this issue has "Documentation" in the title, I thought only documentation was being addressed, which is why I asked about the timeout itself. Very happy to know that timeouts might be increased one day!

CarlosDomingues avatar Jun 08 '22 22:06 CarlosDomingues

Thank you for your feedback. We have updated the request read timeout in App Runner from 30 seconds to 120 seconds. Our documentation has also been updated.

Documentation link: https://docs.aws.amazon.com/apprunner/latest/dg/develop.html#develop.considerations

snnles avatar Jan 25 '23 18:01 snnles

Thanks @snnles!

jvisker avatar Jan 25 '23 18:01 jvisker

Good stuff, thank you @snnles !

suzukieng avatar Jan 26 '23 06:01 suzukieng