简体   繁体   English

Google App Engine与WebFaction

[英]Google App Engine vs WebFaction

Possible duplicates: GAE + Python vs Webfaction + Python + django - for a relative new dev 可能的重复: GAE + Python vs Webfaction + Python + django - 用于相对新的开发

Hello, I am developing one of my hobby project using django-nonrel on google app engine. 您好,我正在使用谷歌应用引擎上的django-nonrel开发我的一个爱好项目。 The basic part of the application is finished. 应用程序的基本部分已完成。 Now for the some advance features I need to use: 现在我需要使用一些高级功能:

  1. Comet for Facebook like real time ticker 像实时自动收报机一样的Facebook彗星
  2. django-filetransfer for storing article with images and serving corresponding image when someone reading article django-filetransfer用于存储带图像的文章,并在有人阅读文章时提供相应的图像
  3. 10-30 minutes of video contents once above two are done (Not decided yet whether there will be any limit of total videos on web application since thinking to make it possible to allow users to upload) 完成上述两次10-30分钟的视频内容(尚未决定是否会对网络应用程序中的总视频进行限制,因为我们可以考虑允许用户上传)

So my questions are: 所以我的问题是:

  1. I need comet for each and every user using my application and since GAE is having limitation on creation and free quota for channel creation and maximum rate(6 creations/minute). 我需要使用我的应用程序的每个用户的彗星,因为GAE限制创建和免费配额创建频道和最大速率(6创作/分钟)。 Is it going to cost me more if I host my application on GAE ? 如果我在GAE上托管我的申请,是否会花费更多费用? Does other hosting services such as WebFaction and Linode also charge if our application uses reverse Ajax ? 如果我们的应用程序使用反向Ajax,其他托管服务如WebFactionLinode也会收费吗?
  2. Since uploading images with article using django-filetransfers require me to enable billing, Is it the same case with other hosting services ? 由于使用django-filetransfers上传带有文章的图片需要我启用计费,是否与其他托管服务的情况相同?
  3. Is GAE (as compared with WebFaction, linode or any other hosting sites) is cost-effective for application which allows users to upload video contents ? GAE(与WebFaction,linode或任何其他托管站点相比)是否具有成本效益,允许用户上传视频内容?

PS Since I have used django-nonrel, hence at this point can easily change my hosting site. PS因为我使用了django-nonrel,所以此时可以轻松更改我的托管网站。 Once I start working on above mentioned functionality, it will be difficult for me move from one hosting site to another. 一旦我开始处理上述功能,我就很难从一个托管站点移动到另一个托管站点。 Due to which I want to take best possible step. 由于这个我想采取最好的步骤。 Also, I am from India and here paying 1 unit of Dollar will cost me more than 50 unit of Indian currency. 此外,我来自印度,在这里支付1单位美元将花费我超过50单位的印度货币。 So love to here the best deal with no compromise on performance :-) 因此,喜欢这里最好的交易,不要在性能上妥协:-)

Thanks for your time, 谢谢你的时间,

Sunil 苏尼尔

Google App Engine and webfaction/linode are unrelated beyond the point that they both ultimately host your application. 谷歌App Engine和webfaction / linode是无关的,超出了它们最终托管你的应用程序的程度。

GAE is a cloud platform-as-service for hosting an app, which usually conforms to an API they expose to you for the individual services you would like to use. GAE是一种用于托管应用程序的云平台即服务,它通常符合他们为您要使用的各个服务向您公开的API。 They give you the free tier and then make their money by raising the tiers. 他们给你免费等级,然后通过提高等级来赚钱。

Linode is simply a VPS (virtual private server). Linode只是一个VPS(虚拟专用服务器)。 Its a virtual linux box and you are responsible for setting up the services. 它是一个虚拟的Linux盒子,你负责设置服务。 There is no API to your individual web service needs. 您的个人Web服务需求没有API。 Its just a linux platform for you to play freely. 它只是一个可以自由发挥的Linux平台。 Need apache? 需要apache? nginx? nginx的? mysql? MySQL的? mongodb? MongoDB的? You need to install and configure those services. 您需要安装和配置这些服务。

Webfaction sits between GAE and linode, in that its also kind of a VPS, kind of shared, and kind of cloud. Webfaction位于GAE和linode之间,因为它也是一种VPS,一种共享和一种云。 You get shell access, and it facilitates installing your services as "apps", handling the configuration for you in the control panel. 您可以获得shell访问权限,它有助于将您的服务安装为“应用程序”,在控制面板中为您处理配置。 But it too, like linode, is not a cloud platform in the way GAE is. 但它也像linode一样,不像GAE那样是一个云平台。 You do not get an API to various services that equal what GAE offers. 您没有获得与GAE提供的服务相同的各种服务的API。

App engine gives you the convenience of not having to manage an actual server, but rather focus on managing your app and the resources it requires. 应用引擎为您提供了无需管理实际服务器的便利,而是专注于管理您的应用及其所需的资源。 But they charge for using more of the services beyond the free tier. 但他们要求使用免费套餐以外的更多服务。

Linode/Webfaction/VPS/... does not charge so specifically per resource. Linode / Webfaction / VPS / ...不会根据资源特别收取费用。 Part of your plan may be unlimited bandwidth, or maybe its 10GB per month, 20GB, etc. Maybe part of your plan is 128/256/512mb ram. 您的计划的一部分可能是无限带宽,或者可能是每月10GB,20GB等。可能您的计划的一部分是128/256 / 512mb ram。 You go with the plan you need and sometimes they let you add more storage/memory after the fact. 你选择了你需要的计划,有时他们会让你在事后添加更多的存储/内存。 But you are not paying per upload, or per API call, because they have no API. 但是,您不支付每次上传或按API调用付费,因为它们没有API。

The idea behind GAE (and similarly Amazon's services) is to provide a scalable platform for your service, to where you think less about hardware and more about adding more resources. GAE(以及类似亚马逊的服务)背后的理念是为您的服务提供可扩展的平台,您可以在这里更少地考虑硬件,而不是添加更多资源。

Other possible Python PaaS platforms worth evaluating: 其他可能值得评估的Python PaaS平台:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM