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.
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
Last Resolved: 2 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.