Look for things we can optimize or cache.
Assignee: nobody → amckay
Target Milestone: --- → 2013-06-27
I split out apps.search and apps.featured in graphite so we can see stats. apps.search has gotten faster, showing that apps.featured is the hog.
There are two main areas of interest: https://github.com/mozilla/zamboni/blob/master/mkt/search/api.py#L172 https://github.com/mozilla/zamboni/blob/master/mkt/search/api.py#L175 With 1 featured app we get: line 172: 86ms line 175: 35ms With 20 featured apps we get: line 172: 321ms line 175: 307ms
Cleaned up the first of those so its less O(n): https://github.com/mozilla/zamboni/commit/30b8ca Would like to take a look at the app dehydrate next.
https://github.com/mozilla/zamboni/commit/94b8704 added caching to one of the lower featured calls that is doing a complex SQL query.
We did some of that a while ago in other bugs, but the API endpoint is going away anyway because of the feed.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.