-
Notifications
You must be signed in to change notification settings - Fork 260
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
Improve caching & preloading for better performance [$25] #317
Comments
Agreed. Still, we have to work on the server-side implementation too, I have the feeling we could do a lot better there in terms of performance. |
To potential bounty hunters:
|
This is on a gmail account with ~9000 messages. The above netdata log is immediately after clicking the mail tab in the header, and waiting until the load finishes. Current nextcloud (18.0.3), without any other users on the system, just the admin logged in on a fresh install, on a 2 CPU / 4GB RAM linode VPS. OnlyOffice is installed and Postgres is tuned for 2gb of available memory. Nginx for the webserver, on which nextcloud is installed directly, no reverse proxy. |
Just installed the beta linked in the help forums, after initial caching the performance is GREATLY improved. |
Thanks so much. I really appreciate the feedback! |
Was that with 1.1.4 or the beta? |
So if I interpret these measurements correctly, the load was decreased significantly 🎆 |
Yeah I know they're hard to see scaled down but the moving meters are, left to right... disk I/O, CPU, and network traffic. After the initial cache of existing mail, what was 50-55% CPU on initial page load went down to 4%, and peak bandwidth usage during the cache build was comfortably handled in 2-3Mbps chunks for a few seconds each, it seemed. It's not quite as snappy as the Gmail web interface but close ;). |
haha guess they have like 50x as many people working on their app but fair enough 😁 |
Yeah, I meant that as a compliment. I'm sure if you could cache every single image on the internet like Google can, you could probably find 250ms here and there too! |
hey @johanlives the ticket at https://www.bountysource.com/issues/42324763-improve-caching-preloading-for-better-performance does not close. can you help? |
Often when I use the search and go through mails (mostly deleting them), it takes a lot of time to load the next mail after I delete one. It would be cool if when you open a view, or make a search, the content of the batch of mails is actually preloaded.
There is a $25 open bounty on this issue. Add to the bounty at Bountysource.
The text was updated successfully, but these errors were encountered: