title: What are some causes of scripts running slowly on google app engine?
body: <p>I have a number of nodejs scripts that simply perform a couple of sql database queries and return the results to the user. </p>
  
  <p>When running locally, they will take an average of 30ms to run, but on google app engine the average time is about 6s. Example: <a href="https://i.stack.imgur.com/tnrMB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tnrMB.png" alt="enter image description here"></a></p>
  
  <p>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.</p>
  
  <p>What are some things that could generally contribute to the long running time.</p>