Closed Bug 1257658 Opened 8 years ago Closed 8 years ago

Fetch bundle and self repair endpoints should make no DB queries in the common case

Categories

(Shield :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mythmon, Assigned: mythmon)

References

Details

The fetch bundle endpoint and the self repair endpoints are going to take the brunt of our traffic. To achieve the throughput we need, we'll probably need to enforce that these views perform no DB queries in most cases. In memory caching can be used for this, and it is fine for the cache to need a few requests to warm up.

This should be enforced with the test suite. This blocks going live because we probably need this optimization to handle full load with a reasonable amount of hardware.
Depends on: 1257263
Assignee: nobody → mcooper
Commit pushed to master at https://github.com/mozilla/normandy

https://github.com/mozilla/normandy/commit/3ed37ec31df3b1399caeed36e75764660ef15cb1
Reduce number of db queries to zero for fetch_bundle

Fixes bug 1257658.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: SHIELD → General
Product: Websites → Normandy
You need to log in before you can comment on or make changes to this bug.