May 23, 2021
Hi Fagner Moura, you can have a look at the AWS docs, all of what you mentioned is possible with Lambda. When a connection is defined outside of the lambda handler, it can be reused, same with other function’s context. Regarding async: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
And of course, if something works better than Lambda for you, go for it :) It’s just a compute resource, in the end, you may as well have a Kubernetes pod for the same work.