Django on GoogleAppEngine - Performance?

随声附和 提交于 2019-12-25 05:04:12

问题


Does running Django on GoogleAppEngine, as opposed to the default WebApp2 framework, consume additional resources? Any metrics?


回答1:


From the mailing list, I've seen multiple comments on Django instances taking significantly longer to start up if cold. This would be noticeable if your app is rarely used.

From my app's log it looks like the first request took about 4 seconds to start up.

My Django instances use 41-43MB. Not sure about webapp2.

If you're using Django-nonrel as an ORM, I'm sure there's a few cycles spent in the ORM translation, but I doubt it's significant. My Tastypie REST layer can take anywhere between 40-120ms for the same request, it looks like that performance is dictated more by the datastore than anything else.



来源:https://stackoverflow.com/questions/9320296/django-on-googleappengine-performance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!