title: Web2Py and MySQL at PythonAnywhere is much slower than locally
body: <p>My app is Web2Py on MySQL and consists mostly of queries and simple display of textual results. No images, videos or fancy CSS.</p>
  
  <p>Locally, queries response time is sub second.
  Deployed to PythonAnywhere (using the couple of basic efficiency tricks in the Web2Py book) - and the same queries may take 7-8 seconds each !
  PA support mentioned that inefficiencies in my code, which are not evident locally may become an issue on the network.
  Ok...what kind of inefficiencies should I look for ? </p>
  
  <p>Massimo's thougths: </p>
  
  <blockquote>
    <p>One possibility is that on your local machine the database and the
    server run on the same machine. On pythonanywhere (and most hosting)
    they may run on different machines therefore you have network latency.
    Moreover I do not know if the mysql instance if dedicated or shared
    between many users.</p>
  </blockquote>
  
  <p>Any ideas how I can improve the performance when hosted at PythonAnywhere ? 
  Anybody experienced similar issues ?</p>