-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Performance issue on rendering of home feed #681
Comments
Next steps:
|
the "activity" sidebar section seems to put high stress on our mongodb instance. ...which makes sense because it starts non-optimized and heavy db queries against all the users followed by the logged user. => after several outages in production, I decided to turn that feature off by commenting out the corresponding code, in 52536d3 and 17998a1 => if there are no outages in the coming week, we should probably just get rid of this feature, for good, by deleting the commented code. |
Problem
A lot of time seems to be wasted between querying the logged user's subscriptions (cf orange blocks on the left) and posts (cf orange blocks on the right)
This gets worse on profiles that have a lot of subscriptions.
This performance problem is probably the root cause of recent performance and availability issues, cf:
The text was updated successfully, but these errors were encountered: