Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>client side:</p> <ul> <li>check with firebug if/which page components take long to load, and how long the browser needs to render the page after loading is completed. If everything is fast but rendering takes its time, then probably your html/css/js is the problem, otherwise it's server side. </li> </ul> <p>server side (i assume you sit on some unix-alike server):</p> <ul> <li><p>check the web server with a small static content (a small gif or a little html page), using apache bench (ab, part of the apache webserver package) or <a href="http://www.hpl.hp.com/research/linux/httperf/" rel="nofollow noreferrer" title="httperf">httperf</a>, the server should be able to answerat least 100 requests per second (of course this depends heavily on the size of your test content, webserver type, hardware and other stuff, so dont take that 100 to seriously). if that looks good, </p></li> <li><p>test django with <code>ab</code> or <code>httperf</code> on a "static view" (one that doesnt use a database object), if thats slow it's a hint that you need more cpu power. check cpu utilization on the server with <code>top</code>. if thats ok, the problem might be in the way the web server executes the python code </p></li> <li><p>if serving semi-static content is ok, your problem might be the database or IO-bound. Database problems are a wide field, here is some general advice:</p> <ul> <li>check i/o throughput with <code>iostat</code>. if you see lot's of writes then you have get a better disc subsystem, faster raid, SSD hard drives .. or optimize your application to write less.</li> <li>if its lots of reads, the host might not have enough ram dedicated as file system buffer, or your database queries might not be optimized</li> <li>if i/o looks ok, then the database might be not be suited for your workload or not correctly configured. logging slow queries and monitoring database activity, locks etc might give you some idea</li> </ul></li> </ul> <p>if you let us know what hardware/software you use i might be able to give more detailed advice</p> <p>edit/PS: forgot one thing: of course your app might have a bad design and does lots of unnecessary/inefficient things ...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload