Wednesday, January 27, 2010

app-engine performance issues

1. Motivation

As I refered to in my last blog, I experience HardDeadlineExceededError from time to time. Particularly, when I hit my web application for the first time after a time of rest.

I found the hint, that the precompilation could help with the performance on startup. So I wanted to see myself, if this would help to get beyond theses HardDeadlineExceededError. Here's my story, how I got this flag enabled.

2. Modifications

There was no possibility, to enable precompilation in the app-engine plug-in version 0.8.5, so I had to find a way, to enable it. First, I included a new possible parameter to the _Events.groovy:

I inserted the two lines:

and

Lastly, I added the new parameter to the applications.properties file.

3. Results

The output while uploading was:

As far as I remember, I got a similar message as Building Blocks, but I couldn't reproduce them for my blog. The message above is all I got. Is it worth investigating...

Unfortunately, the response time for executing didn't increase much, if at all. I got the same impression as Buildung Blocks, but I feel that his methods of measuring are a bit more accurate.

4. Links

Google app-engine blog Building Blocks - app-engine precompilation

No comments:

Post a Comment