Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
与默认的 WebApp2 框架相比,在 GoogleAppEngine 上运行 Django 是否会消耗额外的资源?有什么指标吗?
从邮件列表中,我看到了多条关于 Django 实例的评论,如果冷的话,启动时间要长得多。如果您的应用很少使用,这将是显而易见的。
从我的应用程序日志看来,第一个请求启动大约需要 4 秒。
我的 Django 实例使用 41-43MB。不确定webapp2。
如果您使用 Django-nonrel 作为 ORM,我敢肯定在 ORM 翻译中花费了几个周期,但我怀疑它是否重要。对于同一个请求,我的 Tastypie REST 层可能需要 40-120 毫秒之间的任何时间,看起来性能更多地取决于数据存储而不是其他任何东西。