I'm using Google App Engine to run a node js application and it works. The issue is that I want to run another node js application which is actually a websocket and searching on the internet and the docs, I found that they support now sockets (before they didn't)!
The only thing is that the node js documentation is missing or they still do not support sockets only for node js, but I can't find the answer for that.. Maybe someone have a work around for that.
Please, do not suggest using Google Compute Engine to run my websocket server, I know that works.
If you’re using Google App Engine Flexible, websocket are available in beta.
I used that example and deployed it on App Engine Flex, and it works
Since not all clients support websockets, a common workaround is to use Socket.IO
If you will be using Socket.IO you will need to change the session affinity in your app.yaml like so
network:
session_affinity: true
You will find more information about that here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With