Appengine, performance degradation with python27

前端 未结 6 906
天涯浪人
天涯浪人 2021-01-31 10:03

I wanted to test python27 on appengine so I have migrated my app from python25. Performance got more than 2x slower for every request! Then I\'ve returned to python25 and perfor

6条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 10:15

    A quote from google itself

    Experimental!

    The Python 2.7 runtime is an experimental, innovative, and rapidly changing new feature for App Engine. Unfortunately, being on the bleeding edge means that we may make backwards-incompatible changes. We will inform the community once the Python 2.7 runtime is no longer experimental.

    They haven't really made it for production use yet , Its like beta testing .

    So keep your application in python2.7 till the experimental phase is over.

    You can also try uploading only the compiled .pyc files because python27 runtime supports bytecode upload

提交回复
热议问题