Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize generation of data for tags #2264

Closed
bugzilla-to-github opened this issue Feb 9, 2021 · 1 comment · Fixed by #3101
Closed

Optimize generation of data for tags #2264

bugzilla-to-github opened this issue Feb 9, 2021 · 1 comment · Fixed by #3101
Assignees
Labels
P2 We want to ship it soon, possibly in the current quarter performance task

Comments

@bugzilla-to-github
Copy link
Collaborator

This issue was created automatically by a script.

Bug 1691956

Bug Reporter: @flodolo
Blocker for: Bug 1701175

Currently, opening the tags panel for a project as large as Firefox might take 20-30s, and sometimes it results in a blank page.

We should cache or store this data, instead of generating it on the fly when the page is requested.

@mathjazz mathjazz added the P2 We want to ship it soon, possibly in the current quarter label Sep 14, 2021
@mathjazz mathjazz added task and removed enhancement labels Sep 25, 2023
@mathjazz
Copy link
Collaborator

mathjazz commented Feb 6, 2024

Tags calculate stats and the latest activity data on the fly rather than have it stored denormalized like Project, Locale, and ProjectLocale dashboards.

Denormalizing this data for Tags is non-trivial because the Tags codebase is unmaintained and uses code patterns that are not used elsewhere in the code. It also has other problems than just performance - the tag selector widget uses its own frontend stack and it’s own design language.

The action item here is to implement replacement for Tags targeting excellent Apdex score, and drop the existing pontoon.tags module eventually. We should also consider replacing Tags with something simpler like Resource priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We want to ship it soon, possibly in the current quarter performance task
Projects
Status: Performance Optimization (High Priority)
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants