question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Invoke Lambdas With "Event" InvocationType

See 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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fivepapertigerscommented, Aug 14, 2019

No, I think you make a good point. I’ll close this and reopen if I have reason to, thanks.

1reaction
fivepapertigerscommented, May 16, 2019

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. 👏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding the Different Ways to Invoke Lambda Functions
Notice, the Invocation-type flag specifies “Event. ... Asynchronous invokes place your invoke request in Lambda service queue and we process ...
Read more >
Invoking Lambda Function Asynchronously via API Gateway ...
Feature Request : Invoking Lambda Function Asynchronously via API Gateway ... InvocationType: Event under AWS::Serverless::Api to invoke the ...
Read more >
Asynchronous invocation - Amazon Lambda
When you invoke a Lambda function asynchronously, Lambda places the request in a queue and returns a success response without additional information.
Read more >
Lambda Invocation Types - sufle.io
When a Lambda function is wanted to be invoked asynchronously, an invocation request takes place in the event queue.
Read more >
Developing on AWS Lambda (Part 2) - George Mao
aws lambda invoke --function-name myFunction --invocation-type Event ... It lets you work with Lambda functions locally but also has a very useful feature...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found