I have a number of nodejs scripts that simply perform a couple of sql database queries and return the results to the user.
When running locally, they will take an average of 30ms to run, but on google app engine the average time is about 6s. Example:
I have verified that this is not due to server start up time. Also, I know requests that run more frequently should be faster, and the server is not very busy, but 6s still seems a bit on the high side especially compared to the local run time.
What are some things that could generally contribute to the long running time.