Is anyone using prisma with graphql-yoga in produc...
# orm-help
j
Is anyone using prisma with graphql-yoga in production? I’m curious where people are hosting each.
➕ 1
h
im hosting the yoga server on AWS lambda using apex up
works great
only downside is the cold start <500ms if no one is visiting
but you can easily get around that by pinging the lambda frequently
n
Zeit Now
l
I deploy this using serverless.com in my case into lambda
n
please i dont understand - seems graphql yoga is server on nodejs, how is it working on aws lambda?
l
I is a simple .js handler function that lambda will invoke. The code is not the same as using node server to run the but it is quite minimal
I actually am using ApolloServer 2 not Yoga
For Yoga there is
GraphQLServerLambda
that you could use