DEV Community

Discussion on: Running a GraphQL API in .NET 6 on AWS Lambda

Collapse
 
andreav profile image
andrea

Hello, great article!
Can you use subscriptions with this approach? It looks like it's hard to use them with API gateway and lambda, at least I didn't find a simple solution until now.

Collapse
 
memark profile image
Magnus Markling

Thanks!
I honestly don't know. What specific issues did you run into? 15 min timeout?

Here are some ideas though:
tsh.io/blog/implementing-websocket...

Collapse
 
andreav profile image
andrea

Thank you for the response.
I know when it comes to web sockets that you have to manage it manually through $connect, $disconnect and so on (as described into the article you linked).
I was asking if with this approach you have the same problem.
By the way, I tried AppSync, and it works very well. Subscriptions are supported out if the box.