Google App Engine - Is this just a fluke, or could changing the version of an app improve cold-start

Posted by Spines on Stack Overflow See other posts from Stack Overflow or by Spines
Published on 2010-03-17T16:18:53Z Indexed on 2010/03/17 16:21 UTC
Read the original article Hit count: 253

Filed under:

Here is the situation: I had an app with a cold start time of about 4 seconds. I was trying to improve the cold start time by removing a bunch of libraries and code I didn't really need. After doing that the cold start time was about 3 seconds latency, and 3 seconds CPU time used.

I changed the version number in appengine-web.xml, and nothing else. And now I have two versions of my app that have the exact same code, up and running.

For cold starts, the newer version uses 1800ms to 1900ms in CPU time, and has 1800ms to 2300ms in latency.

For cold starts, the older version uses 2800ms to 3000ms in CPU time, and has 2300ms to 3600ms in latency.

So far I have sampled 4 cold starts for each version.

© Stack Overflow or respective owner

Related posts about google-app-engine