问题描述
我最近不得不在Google AppEngine上实现一个项目。一开始我很怀疑。但Appengine有一些非常好的方法:- 没有服务器设置。一切都在开箱即用。 Gzip,图书馆等。
- 一键式部署。启动Mac上的GAE启动器并单击部署。完成。
- 低成本
- 轻松进行生产日志记录
但是,如果我正在考虑专业项目,有些事情我不喜欢。
- blobstore。这只是...怪异的。所有1 MB限制
- 感觉您的代码只能在AppEngine上运行。 (BigTable)
你知道AppEngine有什么类似的选择吗?我不是说像EC2这样的服务。 我认为是一个很好的选择。
它可以运行大部分GAE现有的应用程序,因为它支持django,但也可以:
- 它支持Ruby(w或w / o Rails),Java(w或w / o Spring),Node.js,Clojure,...
- 它支持强大的CLI(git推送发布,创建应用,缩放,日志,ps,...)
- 它支持MySql和PostgreSQL(等等,MongoDB,Amazon RDS等)。
- 每个应用程序每月有750个小时的免费套餐(总共有1台机器)。 li>
- 它有一组用于提供云服务作为应用程序资源的插件
- 它有一个附加程序来开发自己的附件。
真的,这是一个很好的选择。
您的应用程序不绑定到GAE,最好的方法是使用着名的lang s和知名的持久性提供商。例如,Ruby + PostgreSQL可能是一个非常便携的组合。 Django也是如此,但没有BigTable ...
I recently had to realize a project on Google AppEngine. At the beginning I was sceptic. But there a some really nice approaches on Appengine:
- No server setup. Everything works out of the box. Gzip, libraries, etc.
- One-Click-Deployment. Fire up GAE Launcher on the Mac and click DEPLOY. Done.
- Low costs
- Easy in-production-logging
But there are some things I don't like if I'm thinking about professional projects
- The blobstore. It's just... weird. And non-backupable
- All the 1 MB restrictions
- The feeling that your code will only run on AppEngine. (BigTable)
Do you know any similar alternatives to AppEngine? And I don't mean services like EC2.
I think Heroku is a great alternative.
It can run most of GAE existing apps, since it supports django, but also:
- It supports Ruby (w or w/o Rails), Java (w or w/o Spring), Node.js, Clojure,...
- It has a strong CLI support (git push for publishing, creation of apps, scaling, log, ps,...)
- It supports MySql and PostgreSQL (and, so on, MongoDB, Amazon RDS, etc.)
- It has a free tier for 750 hours a month (~1 machine always up) for every app.
- It has a collection of addons for providing cloud services as a resources for the apps
- It has an add-on program to develop your own add-ons.
Really, it is a good alternative.
If you want your application is not binded to GAE, the best approach is to use well-known langs and well-known persistence providers. Ruby+PostgreSQL, for instance, could be a combination very portable. Django as well, but w/o BigTable...
这篇关于Google AppEngine的替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!