certain queries are hard on the database
Bug #1172936 reported by
Jason Etheridge
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.2 |
Fix Released
|
Undecided
|
Unassigned | ||
2.3 |
Fix Released
|
Undecided
|
Unassigned | ||
2.4 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is just to throw out some ideas to handle this. Occasionally we see pathological queries that even in small quantities can put great load on a system. What can we do about that?
1) canned results, or even an option for dedicated pages/resources for certain search terms
2) variable cache timeouts for search results. The longer it takes for a query to return results, the longer those results will live in memcached
3) better handling of identical concurrent queries (perhaps by stubbing out searches in memcached even before the results are stored, so that repeat queries will just wait a moment and try memcached again, rather than falling through to the database)
Anything else?
Changed in evergreen: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
information type: | Private Security → Public |
To post a comment you must log in.
Apparently you can hold down the enter key in the TPAC when submitting a search and spam the search query. Bradley's going to open a bug for that one, but I just wanted to mention it here.