How suitable is Ariadne for use in AWS Lambda? #758
-
I'm interested in running a single AWS Lambda function as a GraphQL entry point. I did some googling and haven't seen a lot of examples out there using Ariadne in this way, so I'm curious if anyone's ever tried it out. Can Ariadne be used with AWS Lambda? Any reasons to avoid this combination for some reason? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
We are currently using ariadne in AWS lambdas. We are currently using chalice to deploy the app, which has the lambda sitting behind an apigateway. Our app.route just uses the graphql_sync call rather than any async. We construct the graphql schema at lambda load time, so this is done only once while the lambda is hot. |
Beta Was this translation helpful? Give feedback.
-
Check this documentation about Ariadne and AWS Lambda. |
Beta Was this translation helpful? Give feedback.
-
Check this out: https://github.com/mirumee/ariadne-lambda |
Beta Was this translation helpful? Give feedback.
Check this documentation about Ariadne and AWS Lambda.
https://ariadnegraphql.org/docs/aws-lambda