django-nonrel 在 Google App Engine 上的性能

发布于 11-15 10:14 字数 252 浏览 3 评论 0原文

与 webapp 相比,使用 django-nonrel 在 Google App Engine 上开发应用程序对性能有何影响?

我知道 webapp 和 django 之间没有太大区别,django 已经包含在 google appengine 中,但问题更多是围绕这些人在以下位置所做的精细工作: allbuttonspressed.com/" rel="nofollow">http://www.allbuttonspressed.com/

谢谢

What is the performance impact of developing applications on Google App Engine using django-nonrel as opposed to webapp?

I am aware that there is not much difference between webapp and the django which is included in google appengine already, but the question is more around the fine work the guys have been doing over at : http://www.allbuttonspressed.com/

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

却一份温柔2024-11-22 10:14:17

与 Webapp(仅使用 Django 的一部分,可选)等轻量级框架相比,Django 带来了相当大的启动开销 - 如果您相信基准测试,最多会额外增加 500 毫秒。可以通过预热请求始终启用实例

启动后,我预计效率不会有显着差异 - 大部分时间都花在等待任何框架中的 RPC - 但你可能会发现这些 模板和框架性能基准很有趣。

Django imposes a fairly significant startup overhead over lighter weight frameworks like Webapp (which only use parts of Django, optionally) - anything up to an additional 500 milliseconds if you believe the benchmarks. This can be alleviated or eliminated with warmup requests and always on instances.

After startup, I wouldn't expect a significant difference in efficiency - most of the time spent is going to be waiting for RPCs in any framework - but you may find these benchmarks of template and framework performance interesting.

远山浅2024-11-22 10:14:17

Django 不包含在 appengine 中,appengine 仅使用 django 模板库。 Webapp 是另一个框架,源自 webob。来到 django-nonrel

Django-nonrel 是一个允许开发人员在非关系数据库(其中之一是 Google App Engine 的数据存储)上运行本机 Django 项目(包括 Django 的 ORM)的项目。 (这都是 Django 一直支持的标准传统 SQL 数据库的补充。)App Engine 确实提供了一些 Django 支持,但这主要只是模板和视图。其他允许快速开发的工具(例如表单、内置管理界面或 Django 身份验证)无法开箱即用。 Django-nonrel 为 Django 开发人员改变了这一点。

Django-nonrel 主要用于在 appengine 上运行当前的 Django 项目,无需太多努力。谈到性能影响,我认为选择 django-nonrel 时不会对性能产生太大影响。

Django is not included with appengine, appengine just uses the django templating library. Webapp is another framework which is derived from webob. Coming to django-nonrel

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 mainly is for running your current django projects on appengine without much efforts. coming to performance impact, i don't think there will be much of impact on performance while opting for django-nonrel.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文