Closed
Bug 1227685
Opened 9 years ago
Closed 9 years ago
CurrentProducts.get is called too much
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: peterbe)
Details
Attachments
(1 file)
One thing we've learned from New Relic is that we make an enormous amount of Memcache.get calls. The biggest culprit is the CurrentProducts.get call. Loading a Signature report (e.g. http://socorro.dev/signature/?date=%3E%3D2015-11-17T00%3A00%3A00%2B00%3A00&date=%3C2015-11-24T00%3A00%3A00%2B00%3A00&product=Firefox&version=43.0b&signature=OOM+|+small) yields 7 calls across 3 requests (1 web and 2 ajax). Loading a Report list (e.g. http://socorro.dev/report/list?product=Firefox&range_value=7&range_unit=days&date=2015-11-24&signature=OOM+|+small&version=Firefox%3A43.0b) yields 29 calls across 10 requests (1 web and 9 ajax). Loading the old Top Crashers (e.g. http://socorro.dev/topcrasher/products/Firefox/versions/43.0b?days=7) yields 4 calls across 2 requests (1 web and 1 ajax). That's way too much.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → peterbe
Comment 2•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/cfb40ef2401272c68656c30424db824f30cae1d9 fixes bug 1227685 - CurrentProducts.get is called too much https://github.com/mozilla/socorro/commit/d26ad8992145bdf6b390931aaf32f119e12a35fc Merge pull request #3112 from peterbe/bug-1227685-currentproductsget-is-called-too-much fixes bug 1227685 - CurrentProducts.get is called too much
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•