Can I use node.js npm and socket.io on google app engine
or suggest some low-cost or free solution on cloud that provide a socket.io module becouse I need this for realtime omunication with server
Try Google Cloud Today, we are excited to announce that App Engine Flexible Environment now supports the WebSocket protocol in beta—the first time that App Engine supports a streaming protocol.
Google Cloud Platform joined the Node. js Foundation today. This news comes on the heels of the Node. js runtime going into beta on Google App Engine, a platform that makes it easy to build scalable web applications and mobile backends across a variety of programming languages.
Google Cloud lets you choose the best environment to run your Node. js applications, with options for serverless, Kubernetes, VMs, or custom hardware.
Node support on Google App Engine is available through what Google calls "The App Engine flexible environment". Where your code is running in a docker container hosted by Google. This is in contrast to "The App Engine standard environment" where your code is running in some soft of custom built container. More info here. Documentation for Node on Google App Engine can be found here.
NOTE: The flexible environment is currently in beta! And according to Google not recommended for production use.
Web sockets can be used on Google App Engine. However according to this example for using websockets on Google App Engine; encrypted websockets are currently not supported.
For alternative hosting: The Node wiki maintains a list of hosting providers; old wiki(but somewhat maintained), new wiki. On these wiki pages you can find different types of both free and paid plans for Node hosting.
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