Closed
Bug 651559
Opened 14 years ago
Closed 14 years ago
Use statsd to time the usernames API
Categories
(support.mozilla.org :: Users and Groups, task)
support.mozilla.org
Users and Groups
Tracking
(Not tracked)
VERIFIED
FIXED
2011-06-21
People
(Reporter: jsocol, Assigned: jsocol)
References
Details
Another thing to time with statsd once we have graphite: how long the usernames API queries take. I'm concerned that the Q(profile__name__istartswith=pre) part of the query may be excruciatingly slow.
Comment 1•14 years ago
|
||
I'd put an index (with a lowercase collation) on the profile.name field. Then it should be right quick.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → james
Target Milestone: 2011Q2 → 2011-06-21
Assignee | ||
Comment 2•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 3•14 years ago
|
||
Please add verification steps or mark as [qa-], thanks
Assignee | ||
Comment 4•14 years ago
|
||
You should see stats.timers.srao.users.api.usernames.search in the SJC Graphite. Might have to visit the site first to generate some data.
You need to log in
before you can comment on or make changes to this bug.
Description
•