Django开发人员的初学者Google App Engine是否比Webfaction好? [英] Is Google App Engine better than Webfaction for a beginner in Django dev?

查看:122
本文介绍了Django开发人员的初学者Google App Engine是否比Webfaction好?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Django开发网站的初学者。
我运行类似于SO的小型讨论网站。



我在Bluehost有一个账户,这是Django开发的一个恶梦。
我发现Webfaction和Google App Engine似乎是Django的最佳选择。



然而,我不知道哪一个是最适合我的



Google App Engine在运行小型网站时是否优于Webfaction?

解决方案

Webfaction



加:


  1. 很好的shell访问。能够安装python模块,或者您可能需要的其他任何东西。您将会喜欢从shell中检出源代码以更新您的生产(不需要FTP任何东西!)

  2. 非常好的性能和可靠性

  3. 很棒支持+丰富的信息帮助知识库和论坛。 (FORGET bluehost或者你曾尝试过的任何东西)。我感到惊讶的是,我发现我认为是困难的问题的答案的数量。

  4. 你可以使用常规数据库,你可以做连接(见应用程序引擎减#2)

减号:


  1. 设置初始部署可以有点棘手的前几次(从壳是预期的)。

  2. 成长缩放可能是昂贵的,你可能无法生存beignslashdotted

App Engine



加:


  1. 免费开始

  2. 初始数据库更容易设置。

  3. 部署是一个微风

  4. 从一开始就执行好的设计原则,帮助你#5。 (例如硬限制,数据库非规范化等)

  5. 可扩展性(但这不免费 - 您需要考虑前进)。

  6. 无维护:自动备份,安全免费,日志记录+集中式仪表板,软件更新是自动的。

减号:


  1. 在App Engine上设置Django并不那么简单,而且习惯了这个设置。来自google的webapp框架很弱。

  2. 数据库模型需要一点时间才能包围你的头脑。这不是你妈妈的SQL服务器。例如,您必须从一开始就对数据库进行非规范化,并且您不能执行联接(除非它们是自联接)

  3. 您常用的常规操作并不总是存在。一些事情,如测试和数据导入并不那么容易。

  4. 你被绑定到App Engine并将数据迁移到另一个数据库或服务器,而不是不可能,不容易。 (不是你经常进行数据迁移!可能从不)

  5. 请求,响应和文件大小的硬限制(上次我听说大约1MB)。

  6. App Engine目前仅支持Python 2.5。

目前为止还没有任何其他的想法。
我目前正在使用Webfaction,并且正在测试App Engine。我从Django-Webfaction到App-Engine的思维方式都没有困难。但是,我不知道AppEngine - >独立服务器路由是否同样简单。



参考



谈话:




I am a beginner in developing websites by Django. I run small discussion websites similar to SO.

I have an account at Bluehost which has been a nightmare in developing by Django. I have found that Webfaction and Google App Engine seems to be the best choices for Django.

However, I am not sure which one is the best for me.

Is Google App Engine better than Webfaction in running small websites?

解决方案

Webfaction:

Plus:

  1. Great shell access. Ability to install python modules, or anything else you might need. You will love checking out source code from shell to update your production (no need for FTPing anything anymore!)
  2. Very good performance and reliability
  3. Great support + wealth of info on help knowledge base and in the forums. (FORGET bluehost or anything else you ever tried). I was surprised by amount of answers I found to what I thought would be difficult questions.
  4. You can use regular database and you can do joins (see app engine minus #2)

Minus:

  1. Setting up initial deployment can be a bit tricky the first few times around (as is to be expected from shell).
  2. Growing-scaling can be expensive and you probably will not survive beign "slashdotted"

App Engine

Plus:

  1. Free to start with
  2. Initial database is easier to setup.
  3. Deployment is a breeze
  4. Enforcement of "good" design principles from the start which help you with #5. (Such as hard limits, db denormalizing etc)
  5. Scalability (but this does not come free - you need to think ahead).
  6. No maintanence: auto backups, security comes for free, logging + centralized dashboard, software updates are automatic.

Minus:

  1. Setting up Django on App Engine is not so straightforward, as well as getting used to this setup. The webapp framework from google is weak.
  2. Database model takes a little bit of time to wrap your head around. THis is not your moma's SQL server. For example you have to denormalize your DB from the start, and you cannot do Joins (unless they are self joins)
  3. The usual things you are used to are not always there. Some things such as testing and data-importing are not that easy anymore.
  4. You are tied down to App Engine and migrating your data to another DB or server, while not impossible, is not easy. (Not that you do data migration that often! Probably never)
  5. Hard limits in requests, responses and file sizes (last time I heard about 1MB).
  6. App Engine currently supports Python 2.5 only.

Can't think of anything else so far. I am currently with Webfaction and am testing App Engine as well. I have no difficulty going from Django-Webfaction to App-Engine way of thinking. However, I am not sure if the AppEngine -> Standalone servers route would be just as easy.

References

Talks:

这篇关于Django开发人员的初学者Google App Engine是否比Webfaction好?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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