-
-
Notifications
You must be signed in to change notification settings - Fork 834
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
fttb slow response time #3952
Comments
Having similar issues. My installation involved a migration from an old server to a new one, which included a Flarum update (Flarum 1.1.1 -> 1.8.5). Had to truncate the entire notification db table (600k+ entries, notifications always stay in the table and just get a deleted mark (???)), to make the loading speed acceptable for users. Performance is still worse than expected, and once a while clearing account notifications speeds up the FTTB. Something between 1.1.1 and 1.8.5 has seriously decreased performance within the notifications. |
Current Behavior
I found a bug where the fttb (first time to byte) time would exceed 2 seconds when my notification count reached 10000+. However, if I cleared all notifications, the fttb time would return to 500ms.
Steps to Reproduce
Number of account notifications 5000+
Expected Behavior
Slow initial server response time
Screenshots
Environment
Flarum version: 1.8.3
Webserver: nginx
Hosting environment: dedicated server (64GB RAM , 6c/12t)
PHP version: 8.1.2
Browser: Chrome
Output of
php flarum info
Possible Solution
Clear redundant notifications if there are more than 1000 notifications
or limit the number of notifications displayed to 999+?
Additional Context
This problem still exists
#3778
The text was updated successfully, but these errors were encountered: