Response time is dependent on a lot of factors. Mainly your runtime <https://cloud.google.com/appengine/docs/>, scaling settings <https://cloud.google.com/appengine/docs/standard/python/config/appref#scaling_elements>, and your code.
If you are using App Engine Flexible <https://cloud.google.com/appengine/docs/flexible/> it will use Compute Engine <https://cloud.google.com/compute/> virtual machines for its instances which take a bit longer to start compared to App Engine Standard <https://cloud.google.com/appengine/docs/standard/>. Your choice of runtime also affects the speed of response times as the language itself can slow down the process. Using auto scaling <https://cloud.google.com/appengine/docs/standard/python/config/appref#scaling_elements> is also recommended as it will automatically scale up more instances when your traffic requires it. You can of course configure the max concurrent requests and max pending latency to optimize the amount of requests that are handled per instance, and change the amount of time a request is allowed to wait before forcing App Engine to start a new instance to handle it. The largest factor to speed is of course your code. The amount of work you perform per request is the amount of time the request must wait. You can use the Cloud Trace tool <https://cloud.google.com/trace/> to break down each request to better understand where all of the time was spent. <https://www.youtube.com/watch?v=vuVpxOIA8Wc> Another major factor is networking. The location of your App Engine project <https://cloud.google.com/appengine/docs/locations> compared to that of the clients making requests to your app can drastically change the time it takes for a response to be received. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/cd6122ba-a2cc-436a-9bfc-868858e53317%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
