Live data from Hacker News

Python 3 is now available on App Engine standard environment

cloud.google.com

11–20 of 84 posts

Re: Python 3 is now available on App Engine standard environment

#12

Hi all, Product Manager for App Engine here. Happy to answer any questions about Python 3 on the App Engine standard environment.

Would the python3 runtime support things like ndb, taskqueue, memcache modules?

We have a python2.7 standard app in production. It would be a considerable re-write if we had to move away from ndb and taskqueue.

Re: Python 3 is now available on App Engine standard environment

#13

Out of curiosity, why did this take 10 years?

Very few people were demanding Python 3 support 10 years ago. Prior to 3.4 uptake was limited so we’re really talking about 4 years.

Also, old appengine was built with nacl (remember that?) sandboxing. Anything that couldn’t be built under the nacl sandbox couldn’t run in app engine. Google realized this was a problem long ago but it takes time to rebuild your whole platform to eliminate such a fundamental dependency. That may have taken most of their focus, leaving little for other projects. and of course their new arch makes python 3 free so it’s difficult to have a parallel engineering effort that will be rapidly deprecated.

Re: Python 3 is now available on App Engine standard environment

#15

Out of curiosity, why did this take 10 years?

Long story short: security is hard.

Launching these new unmodified Second Generation runtimes required us to develop new security and isolation technology (based on gVisor [1]). This allows us to securely run arbitrary code on shared data centers with isolation guarantees. This took us significantly longer than expected. The good news is, now that we have this new stack in place, we should be able to deliver runtime updates significantly faster.

[1] https://github.com/google/gvisor

Re: Python 3 is now available on App Engine standard environment

#17

Hi all, Product Manager for App Engine here. Happy to answer any questions about Python 3 on the App Engine standard environment.

The (datastore) client libraries take up the http request quota and the build-in mechanism of the Standard Environment is not. Google recommends going forward with client libraries everywhere in the documentation but what's the solution on the introduced request limitation which isn't mentioned anywhere? (Or is this finally fixed in the meanwhile?)

Re: Python 3 is now available on App Engine standard environment

#18

Earlier quoted context omitted.

Can I run pandas in it?

Yes, this runtime supports arbitrary dependencies specified via a `requirements.txt` file. If you find a library that doesn't work, please let us know. In general, anything that works using an open source Python 3.7 distribution should be supported.

Awesome!

Re: Python 3 is now available on App Engine standard environment

#20

Hi all, Product Manager for App Engine here. Happy to answer any questions about Python 3 on the App Engine standard environment.

Are there any billing changes for apps previously running within the free tier in standard environment?
Post reply on HN