seneca icon indicating copy to clipboard operation
seneca copied to clipboard

Elephant In the Room - AWS Lambda Support

Open valeeum opened this issue 5 years ago • 3 comments

How well, if at all, does this framework integrate with AWS Lambda? Some examples or explanations of approach to build a custom transport would be much appreciated.

valeeum avatar Nov 25 '19 17:11 valeeum

We use Seneca w/ AWS Lambda w/o any issues. In our scenario, AWS Lambas are used w/ AWS Gateway and they forward requests to microservices running on AWS ECS. Before jumping into microservices world, I would recommend you to pick most appropriate architecture for your microservice solution.

rodmaz avatar Nov 29 '19 13:11 rodmaz

Thanks for your reply. Using ECS for microservices makes more sense because that's analogous to the examples provided in the quick start guide, except scaled using a containerized environment - you're still in control of client/server configuration. I'm having a difficulty thinking in terms of using lambda functions as your various "microservices." How should .listen() and .client() be configured? Please let me know if I'm barking up the wrong tree here?

valeeum avatar Dec 03 '19 05:12 valeeum

We currently do not user AWS Lambdas in our microservices architecture. We use lambdas as part of the API Gateway only. Our MS are written mostly in NodeJS and run on ECS.

rodmaz avatar Dec 08 '19 16:12 rodmaz