Closed Bug 1175980 Opened 11 years ago Closed 11 years ago

Optimize event status view

Categories

(Webtools Graveyard :: Air Mozilla, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED FIXED
Tracking Status
firefox41 --- affected

People

(Reporter: peterbe, Assigned: peterbe)

References

Details

Attachments

(1 external file)

The event_status [0] view is already fast but it requires a database read. This view however, will be hit every 10 seconds on every tab by every visitor to the site. This can add up to a lot. We should make it read from the cache instead of the database. [0] https://github.com/mozilla/airmozilla/blob/e9327abbf3ef8e15db016f515396cf1419b0fa88/airmozilla/main/views.py#L1563-L1565
Depends on: 870015
This view has now crept up to be the second most time consuming view in New Relic.
Assignee: nobody → peterbe
Commits pushed to master at https://github.com/mozilla/airmozilla https://github.com/mozilla/airmozilla/commit/70e03086bc3bb5e31d84dfdc8f56dd77eda692f5 fixes bug 1175980 - Optimize event status view https://github.com/mozilla/airmozilla/commit/d204e74896249d4f603ac54f995e937020043c65 Merge pull request #374 from peterbe/bug-1175980-optimize-event-status-view fixes bug 1175980 - Optimize event status view
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: