formkiq / lambda-runtime-graalvm

Lambda Runtime using Graalvm
Apache License 2.0
18 stars 5 forks source link

Implementing response streaming in a custom runtime #16

Closed mfriesen closed 7 months ago

mfriesen commented 7 months ago

Runtime only supports response payload up to 6MB. Using response streaming increases to 20MB.

/runtime/invocation/AwsRequestId/response – Propagates the Content-Type header from the runtime to send to the client. Lambda returns the response payload in chunks via HTTP/1.1 chunked transfer encoding. The response stream can be a maximum size of 20 MiB.

Any HTTP client that supports streaming answers may be used with Lambda Function URL.