Reputation: 22045
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:
What is the app engine doing for those extra 3 seconds that apparently isn't using any CPU?
Upvotes: 0
Views: 746
Reputation: 17516
You seem to have already done a lot to improve your application's cold start time... I really don't think there's anything else that you can do. Keep in mind though, that this is a known problem and the GAE team seems to be working on cutting this down as much as they can. You'll probably see start time improve without any more work on your part.
EDIT: It turns out precompilation is now on by default. That should also give you a boost.
Upvotes: 1
Reputation: 719099
Probably there are fewer network interactions to fetch support classes from Google.
Upvotes: 1