-
Notifications
You must be signed in to change notification settings - Fork 66
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
Task scheduler for internal operations #291
Comments
Caching mechanism in Docker container list information was broken, fixed in 6.5.1. On my system that cuts loading time in half (e.g. Dashboard takes 220ms to load 10 containers + 3 VMs) |
@bergware, when |
These are my test results for complete loading + rendering of containers in Dashboard: 10 containers = 205 ms |
1000+ms seems like an unreasonable amount of time. Portainer takes 80-100ms for 33 containers. |
You can not expect a interpreted PHP script to perform at the same level as a compiled binary executable. Fixing the caching issue gave already a great boost in performance, I don't see further optimizations, but if you see/have solutions to improve even more, please raise a PR and I am happy to test. |
@bergware, expecting lower difference between both. Have not inspected DockerClient in detail, but the information ca be flushed as soon it gets available, similarly to how |
Certain back-end operations take up significant time to execute which affects user experience (reference: #290 (comment)).
Perhaps there can to be an internal task scheduler for certain operations that happen without the user requesting them during page load time? That way
webGui
could consume recent updates instead of being the initiator for their generation.The text was updated successfully, but these errors were encountered: