-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Lambda response streaming #318
Comments
I had a go at implementing this myself (my Rust isn't quite up to scratch but the code that interacts with the Lambda runtime API is written in TypeScript for the moment) but I don't think we have a way to stream a request body in LLRT currently. I would've ordinarily used the I'd be happy to take another look if there's a preferred way forward here? |
Hey @richarddavison, have you considered References: |
Thanks for the suggestion but we already have a streams polyfill but that won't perform as well as we desire due to lack of a JIT. Basically every byte that flows through a stream implemented will cause multiple function calls, branches, allocations etc. |
Thanks @richarddavison, I'll sit tight for now in that case! |
Hi 👋 - just posting to show that there is still interest in this enhancement. We rely heavily on middy so would be awesome to be able to use it with LLRT 😄 Thanks for the on going effort 💯 |
It would be great if LLRT supported Lambda response streaming as per https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html#runtimes-custom-response-streaming.
The text was updated successfully, but these errors were encountered: