-
Notifications
You must be signed in to change notification settings - Fork 73
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
[stable6] Perf improvements for stable-6 for 26 branch #3445
[stable6] Perf improvements for stable-6 for 26 branch #3445
Conversation
07d8023
to
68439a5
Compare
d67641c
to
112afd5
Compare
112afd5
to
9f26d1f
Compare
Saves a few DB requests Signed-off-by: Côme Chilliet <[email protected]>
Avoid a DB request for each poll, instead use the data we just got from the full list. Signed-off-by: Côme Chilliet <[email protected]>
Not pretty but avoids a few DB calls. Ideally we should not do these requests at all, I do not really understand this share part in Acl. Signed-off-by: Côme Chilliet <[email protected]>
549f6e0
to
8bf95e8
Compare
/backport to master |
@artonge Never ever!!!! |
Is the code base that different? We should make sure master does not suffer from the perf problems this PR fixed for 6, otherwise upgrading from 6 to 7 would result in performance degradation. I did not look into the details, maybe those extra DB requests are already gone in 7. |
Existing problems have to be solved another way. |
Trying to bring the number of DB requests for polls listing down.
So far got down from 52 to 30 for 4 polls with no votes.