Hi all I thought isolating frontend requests would solve my delay issues, as each frontent request runs < 3seconds, the majority being <1second, however I still see initial delays that are usually 29 seconds
My performance settings for the default/frontend modules are: instance_class: F2 automatic_scaling: min_idle_instances: 3 max_idle_instances: 3 min_pending_latency: 10ms max_pending_latency: 10ms The /_ah/warmup does 1000ms's of processing and takes a total of 2500ms to execute (from the logs - the warmup handler is rendering the commonly used jinja2 templates to cache them) Yet, when I open the first page from the browser, I still get 29 seconds of delays for the first requests only (a request has cpu_ms=130ms and ms=29980ms for example, ~760ms for the later requests) The modules certainly improved things, reduced the frequency of these issues, decreased them to first requests only (seemingly) however it's still a major issue Each new user experiences these delays and probably leaves the app because of them, it prevents the growth and wastes all the resource/ad costs A possible cause: The app does 3 dynamic requests at the same time, 2 are lightweight, 1 of them actually has ms=26000ms, for some reason the initial rendering of the jinja2 templates takes too much time, reason unknown, I verify that each of these requests are routed to the same instance from the logs, could the requests that has ms=26000ms prevent/hold the other requests that route to the same instance and cause the delays? It pretty much seems like it, I've no idea what could take 26 seconds to process, however I initially isolated the issue to jinja2, I will investigate further and update this discussion I would really like some input on this issue Thanks in Advance -- 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 http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
