托管龙卷风/Websocket应用程序 [英] Hosting a tornado/websocket application

查看:88
本文介绍了托管龙卷风/Websocket应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个应用程序,该应用程序使用了Tornado的websocket实现,并且正在尝试为其找到主机.据我阅读谷歌搜索结果所知,谷歌appengine目前不支持websocket.我不确定heroku,因为我找不到任何信息.所以我的问题是,是否有人知道可以在哪里托管我的应用程序的托管人?

I wrote an application which makes use of the websocket implementation of Tornado and I am trying to find a host for it. As far as I can tell by reading google search results, google appengine does not support websockets at the moment. I'm not sure about heroku since I couldnt find any information. So my question is, if anybody knows a hoster where I could host my application?

推荐答案

最简单的方法可能是使用常规的IaaS(基础设施即服务)云提供商,例如Amazon EC2或Rackspace.甚至只是像Dreamhost一样使用常规的托管服务器.通过这些工具,您可以直接访问操作系统和网络配置,并且可以做任何您想做的事情.不利的一面是,它们的价格会更高,而对于EC2和Rackspace,则需要管理主机本身.

The easiest thing might be to use a general IaaS (Infrastructure as a Service) cloud provider such as Amazon EC2 or Rackspace. Or even just use a regular hosted server like with Dreamhost. With those you get direct access to the OS and network configuration and you can do whatever you want. The downside is those will be more expensive and you for EC2 and Rackspace you will need to manage the host itself.

更新:您现在可以在Heroku上使用Websocket.以下是有关在Heroku上将 Websocket与Python一起使用的信息.

Update: you can now use Websockets on Heroku. Here is some information about using Websockets with Python on Heroku.

这篇关于托管龙卷风/Websocket应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆