我可以用节点。js npm窝。io上谷歌app引擎

时间:2022-06-13 15:42:39

Can I use node.js npm and socket.io on google app engine

我可以用节点。js npm窝。io上谷歌app引擎

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

或者在云计算上提供一些低成本或免费的解决方案。io模块,因为我需要它与服务器进行实时管理

4 个解决方案

#1


13  

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.

谷歌App Engine上的节点支持可以通过谷歌所称的“App Engine柔性环境”来实现。在谷歌托管的docker容器中运行代码。这与“应用程序引擎标准环境”形成了鲜明对比,在这个环境中,您的代码运行在一些自定义构建的容器中。更多的信息在这里。在谷歌应用程序引擎上的节点文档可以在这里找到。

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.

Web套接字可以在谷歌应用程序引擎上使用。但是根据这个例子,在谷歌App Engine上使用websockets;目前不支持加密的websockets。

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.

对于备选主机:节点wiki维护一个主机提供程序列表;旧的维基(但有些维护),新的维基。在这些wiki页面上,您可以找到不同类型的免费和付费的节点托管计划。

#2


4  

You would need to configure a Google Compute Engine instance to run a node application.

您需要配置谷歌Compute Engine实例来运行节点应用程序。

#3


2  

http://nodejitsu.com/ It's free and sockets are working just fine.

http://nodejitsu.com/它是免费的,套接字运行良好。

#4


1  

NodeJs is now suppprted on Google App Engine, as well as other languages. Just follow: https://cloud.google.com/nodejs/getting-started/hello-world

NodeJs现在支持谷歌应用程序引擎以及其他语言。跟着:https://cloud.google.com/nodejs/getting-started/hello-world

#1


13  

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.

谷歌App Engine上的节点支持可以通过谷歌所称的“App Engine柔性环境”来实现。在谷歌托管的docker容器中运行代码。这与“应用程序引擎标准环境”形成了鲜明对比,在这个环境中,您的代码运行在一些自定义构建的容器中。更多的信息在这里。在谷歌应用程序引擎上的节点文档可以在这里找到。

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.

Web套接字可以在谷歌应用程序引擎上使用。但是根据这个例子,在谷歌App Engine上使用websockets;目前不支持加密的websockets。

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.

对于备选主机:节点wiki维护一个主机提供程序列表;旧的维基(但有些维护),新的维基。在这些wiki页面上,您可以找到不同类型的免费和付费的节点托管计划。

#2


4  

You would need to configure a Google Compute Engine instance to run a node application.

您需要配置谷歌Compute Engine实例来运行节点应用程序。

#3


2  

http://nodejitsu.com/ It's free and sockets are working just fine.

http://nodejitsu.com/它是免费的,套接字运行良好。

#4


1  

NodeJs is now suppprted on Google App Engine, as well as other languages. Just follow: https://cloud.google.com/nodejs/getting-started/hello-world

NodeJs现在支持谷歌应用程序引擎以及其他语言。跟着:https://cloud.google.com/nodejs/getting-started/hello-world