darcs

Issue 1088 issue search form is slow when logged in

Title issue search form is slow when logged in
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List Serware, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur
Assigned To
Topics BugTracker

Created on 2008-09-20.05:24:04 by simon, last changed 2009-10-23.23:27:55 by admin.

Messages
msg6061 (view) Author: simon Date: 2008-09-20.05:23:59
Jason and I noticed that the detailed bug search form,
http://bugs.darcs.net/issue?@template=search , was very slow (half a minute) for
logged-in users. This is due to the Creator/Actor/Assigned to fields with their
user select lists. I don't fully understand the caching story, but it seems
these queries can take a number of seconds when postgres is cold, even though
the appropriate speedup indexes seem to be in place. I believe because we are
running roundup in cgi mode it does not benefit from postgres caching; with the
persistent server these queries should be instant. 

As a temporary workaround, I replaced the select lists with text fields. If you
want to use these, type in a username, which you can find in the User List in
the sidebar.
msg6062 (view) Author: dagit Date: 2008-09-20.06:00:59
On Fri, Sep 19, 2008 at 10:24 PM, Simon Michael <bugs@darcs.net> wrote:

> I believe because we are
> running roundup in cgi mode it does not benefit from postgres caching; with the
> persistent server these queries should be instant.

Simon and I have hypothesized that with something like fastcgi this
slow down may go away after the first time anyone requests that page
to load.

Jason
History
Date User Action Args
2008-09-20 05:24:04simoncreate
2008-09-20 06:01:01dagitsetstatus: resolved -> unknown
nosy: + serware
messages: + msg6062
2008-09-20 15:02:43simonsetstatus: unknown -> resolved
nosy: kowey, dagit, simon, serware, Serware
2009-08-10 23:46:02adminsetnosy: + dmitry.kurochkin, thorkilnaur, - dagit
2009-08-25 17:24:50adminsetnosy: + darcs-devel, - simon
2009-08-27 14:12:06adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, serware, Serware
2009-10-23 22:44:50adminsetnosy: - Serware
2009-10-23 23:27:55adminsetnosy: + Serware, - serware