在Google App Engine上使用django-nonrel而不是webapp开发应用程序会有什么性能影响?
我意识到webapp和已经包含在google appengine中的django没有太大区别,但问题更多的是他们在http://www.allbuttonspressed.com/上所做的出色工作。
谢谢
发布于 2011-06-16 12:17:43
Django比Webapp (只使用Django的一部分,可选)这样的轻量级框架带来了相当大的启动开销-如果你相信基准测试,任何东西都可以达到额外的500毫秒。这可以使用warmup requests和always on instances来缓解或消除。
在启动之后,我不会期望在效率上有显著的差异--大部分时间都是在等待任何框架中的benchmarks of template and framework performance --但是你可能会发现这些RPC很有趣。
发布于 2011-06-15 20:42:48
Django不包含在appengine中,appengine只使用django模板库。Webapp是从webob派生的另一个框架。来到django-非版本
Django-nonrel is a project which allows developers to run native Django projects (including Django's ORM) on non-relational databases, one of which is Google App Engine's Datastore. (This is all in addition to the standard traditional SQL databases that have always been supported by Django.) App Engine does come with some Django support, but this is mainly only the templating and views. Other tools that allow for rapid development such as forms, the built-in administration interface or Django authentication just won't run out-of-the-box. Django-nonrel changes this for Django developers.
Django-nonrel主要用于在appengine上轻松运行当前的django项目。谈到性能影响,我认为选择django-nonrel不会对性能产生太大影响。
https://stackoverflow.com/questions/6356704
复制相似问题