Reputation: 633
Can I use a Lambda to do something like send a million mails via SendGrid, by invoking the Lambda, asynchronously, a million times, in quick succession? Will all the queued requests fire, eventually, assuming that the life of the queue is 6 hours.(Link to AWS Documentation)
Upvotes: 0
Views: 703
Reputation: 269826
Any requests that exceed your concurrent limit will queue until they are run (as long as they do not exceed the 6-hour limit).
With such high volumes, you should ask for an increase in your limit of concurrent lambda functions.
(And then get a lawyer, because sending one million emails is likely to be treated as spam.)
Upvotes: 1