October 2015
Intermediate to advanced
368 pages
8h 49m
English
It is important to know how your application is performing. A Google App Engine application mainly calls various API methods that result in RPC calls, which effectively are network calls. If you have data of what kind of calls are being made, where and what calls are the most time-consuming, you can optimize, tweak, or structure your code in accordance to make optimal use of resources.
That's exactly where the RPC profiling comes in, which is also known as AppStats. To enable it, there are two steps to it:
To enable it, you have to add a WSGI middleware to your application that will record various statistics. In case of webapp2, that's simple. You can simply do it like ...
Read now
Unlock full access