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

avoid low perf on edition detail (homes) #39

Open
anibalpacheco opened this issue Jul 26, 2024 · 0 comments
Open

avoid low perf on edition detail (homes) #39

anibalpacheco opened this issue Jul 26, 2024 · 0 comments

Comments

@anibalpacheco
Copy link
Contributor

anibalpacheco commented Jul 26, 2024

  • this can be MITIGATED: Make a new dj system check severity warning To avoid low perf on edition detail (homes), or even a timeout result; warn when a single edition has more than K published (also check if having that ammount of non-published ones is a problem too) articles, a default value of k=100 is suggested.
    IMPORTANT: check if this may happen only when the top_position is also equal for that big ammount of articles (I suspect yes)

  • or may be SOLVED: the root of the issue may be the list cast in the Edition.top_articles method, if we can keep the resultant QS unevaluated, and of course without breaking any places where used, the problem may dissappear <--- try this option first

Tip for the work: use shell_plus option --print-sql to debug slow SQL

@anibalpacheco anibalpacheco changed the title Make a new dj system check severity warning avoid low perf on edition detail (homes) Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant