Labels: Type-Enhancement Priority-Medium
New issue 3619 by thom.ger...@gmail.com: Performace of /api/search poor on
*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
*** Do not post confidential information in this enhancement request!
What version are you running?
What's the URL of the page this enhancement relates to, if any?
Describe the enhancement and the motivation for it.
With over 100,000 review requests in our DB, text query of ReviewRequest
summary caused by
takes a long time for very short strings.
We often see exceptions come in for "/api/search?q=d"
or "/api/search?q=r"; The user is typing slower than the 400ms ajaxDelay;
presumably they're still typing and want to search for something longer --
they won't even see this first request.
Depending on the deployment, this request can will block other requests
from processing, and potentially could trigger 500 responses.
Our deployment is apache mod_proxy to a gunicorn server that times out
after 120 seconds. The gunicorn timeout triggers a SIGABRT, which sends
admins unhandled exception for SystemExit(1).
Maybe could the search optimize to not search summary for very short
strings? (<2 or 3 characters)
Or maybe could /api/search leverage the search index if it is present?
What operating system are you using? What browser?
Please provide any additional information below.
We're using a MySql Database.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.