CurrentProducts.get is called too much

RESOLVED FIXED

Status

Socorro
Webapp
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: peterbe, Assigned: peterbe)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
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)

Updated

2 years ago
Assignee: nobody → peterbe

Comment 2

2 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

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.