seneca
seneca copied to clipboard
Elephant In the Room - AWS Lambda Support
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.
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.
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?
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.