Closed Bug 714842 Opened 13 years ago Closed 11 years ago

Increase caching on update.py

Categories

(addons.mozilla.org Graveyard :: Code Quality, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: andy+bugzilla, Unassigned)

References

Details

Currently we rely on Zeus to cache update pings, which caches something like 80% of the queries. That's great, but I bet we can cache more. 

We cache based on the query string, which means that two queries with extra paramaters like foo=bar and foo=baz will not be cached in Zeus and both do lookups. We could try adding in a memcache cache, maybe using amo.utils.memoize to cache the parameters we care about.

I'm not sure how much of a win this will be, the only hurt will be increased memcache traffic but for decreased mysql traffic.
Target Milestone: --- → 6.3.6
Depends on: 715687
Target Milestone: 6.3.6 → 6.3.9
As long as it fails gracefully when memcache goes down, it wfm. :)
Target Milestone: 6.3.9 → ---
Fortunately memcache never goes down. If it did, we'd be pooped.
haven't heard any complaints here.  wontfixing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.