Feature Request: Invoke Lambdas With "Event" InvocationTypeSee original GitHub issue
First off, thanks for the great plugin.
We started noticing that the warmup Lambda itself was timing out. We’ve increased the timeout to take care of that, but ideally we’d love to keep the plugin Lambda’s runtime as short as possible and not have to worry about scaling it to match an increasing number of functions in the service.
I wanted to suggest warming up the downstream Lambdas using an async invoke (
InvocationType: "Event") instead of
RequestResponse - ideally through a configuration option. In our case, we are happy to sacrifice the plugin’s reporting on runtime-level success/failure of any downstream functions, since we monitor errors on those functions anyway.
Happy to open a pull-request that introduces that option if it sounds reasonable.
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
No, I think you make a good point. I’ll close this and reopen if I have reason to, thanks.
Gah, that’s brutal, sorry to hear. I will keep an eye out. Again, great plugin - it’s nice to see a serverless plugin that is well maintained. 👏