Replies: 2 comments 3 replies
-
Hi @aminalaee, To my knowledge the There is currently an open issue related to improving the documentation and adding more examples, so I'm happy to merge any PRs that provide any framework-specific examples demonstrating things like this. |
Beta Was this translation helpful? Give feedback.
-
Hi @aminalaee, did you manage to do tes same process but with docker instead of zip? |
Beta Was this translation helpful? Give feedback.
-
Hey,
First off I wanted to thank you for the great library and the effort behind it.
This might be more of a question than an issue,
Based on the examples I've seen in the docs we pass the whole application inside the
Mangum
adapter. Like:Well this is one convention and works for some projects. For larger projects it makes sense to split the backend into services/functions and let the Lambda scale each separately as explained in the AWS docs here.
I think this should be straightforward with Starlette
Router
or FastAPIAPIRouter
instances which are basically mini ASGI applications.So maybe something like this should work out of the box:
And another handler for another router.
So my question is if this makes sense or I am missing something?
And if this is supported maybe there can be examples or tests demonstrating this?
Beta Was this translation helpful? Give feedback.
All reactions