I installed askbot and deployed under nginx, using the instructions in the wiki. (Aside: Is the wiki maintained? I didn't find a link from the main askbot site, only from google?)
I have gzip compression enabled with nginx.
This is a fresh VPS with little running on it and 0 load.
However, load time is quite slow, even after I load the home page once or twice to cache it. (Is there caching?)
According to pingdom, it takes a full 1.84 seconds to load the front page and all assets.
The django request takes 250 ms. This is the connect time, not the DNS lookup or send time.
What else could I be doing wrong? Why is a fresh askbot on a fresh VPS taking 1.84 seconds to load?
answered 2011-11-16 19:02:59 -0500piskvorky
That still doesn't solve the issue with first-hit loads, of course. Like you say, a bundling approach for static files would help a lot here, reducing the number of HTTP requests.
That's the low hanging fruit; the insides of askbot can surely be optimized as well, but I truly believe Evgeny should concentrate on fixing more important stuff first, and consolidating the documentation...
It is because on the first hit you compile the application, subsequent requests must be a lot faster. Regarding the media files - if you serve them directly by the webserver they will arrive a lot faster.
However - if the delay is recurring - is must be because of deployment issues like serving media files through python or your vps swapping memory.
answered 2012-07-24 04:49:44 -0500Joseph
It turns out that if you through askbot behind a free cloudflare plan, and set up aggressive caching, you can easily get latency down to 200ms.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2011-11-16 03:26:52 -0500
Seen: 225 times
Last updated: Jul 24 '12