|
App engine is the biggest enigma. On paper it is a near perfect cloud experience. It has a huge range of services covering the needs of most web applications: task queues, caching, RDBMS, storage, monitoring, logging, a fantastic dashboard; the list goes on and the scope of GCP and GAE in general is truly massive. At first glance the documentation is exhaustive, support quick, and you get the feeling that the product has the full backing of Google with many hundreds of engineers continually improving and iterating. Yet then you get into the trenches of it and (IMO) you realize the sum of its parts is much less then the value of the individual pieces. You feel the pain of the documentation writers who had to transcribe examples and helper libraries to ten languages, "beta" features that have been out for years, "examples coming soon" in README's that are two years old. Want to use python3? That's cool, use the flexible environment. But it doesn't support taskqueues or many other features. Need websockets? Thats cool, we kinda have this socket API and similar for some languages and environments. It doesn't really work in the flexible environment though sorry :X. All our python examples are in framework X, that's sufficient for everyone using framework Y, right? Don't get me wrong, my company uses GAE and its benefits outweigh the costs for us. But there is a very real "Googliness" to the failings of the platform. The shear breadth and requirements of "fixing" and iterating on GAE must not be a very fun project to work on. |
I work on GCP on the Python samples.
We generally pick Flask, since our thinking is that for many API calls, it is pretty much identical code in other frameworks, and Flask has minimal boilerplate.
We have quick starts for Django for all our platforms. I think Flask + Django covers a huge chunk of Python frameworks people are using.
If you think we are missing important Python samples, you can file an issue here:
https://github.com/googlecloudplatform/python-docs-samples
There are a lot of potential samples to write, so any guidance on which ones people want is always helpful to us.