Google App Engine - What causes cold start latency time to be high, even though my CPU usage is rela
- by Spines
I've optimized my code to use only lightweight libraries. I'm even using the low level datastore rather than JDO.
And my cold start CPU usage has dropped from about 5 seconds to about 1.5 seconds. However, the time it takes to respond is often about 4.5 seconds, though it varies a lot.
Here are some lines from my logs:
03-19 09:16PM 57.368 /donothing 200 4506ms 1516cpu_ms 0kb Mozilla/5.0
03-19 09:22PM 54.884 /donothing 200 4452ms 1477cpu_ms 0kb Mozilla/5.0
What is the app engine doing for those extra 3 seconds that apparently isn't using any CPU?