Reduce the number of vmstats data saved and improve the response speed of the instance list page#8350
Reduce the number of vmstats data saved and improve the response speed of the instance list page#8350havengit wants to merge 2 commits intoapache:mainapache/cloudstack:mainfrom
Conversation
|
Is this still a draft PR, @havengit ? |
This is a complete PR with very few changes. |
|
@DaanHoogland @havengit, the default global configuration values should only be used as a guideline, and it will not work in every environment. This feature was introduced in PR #5984 with the configuration |
+1 with documentation changes. We should not change the default value of existing configurations, unless the value is extremely unreasonable. |
|
That makes sense, I'll close this PR |
Description
This PR...
Types of changes
Feature/Enhancement Scale or Bug Severity
improve the following issues
#8266
For vmstats data, the default global settings will cause a large amount of data to be stored in the database. When accessing the instance page, vmstats data will be requested, causing the page to open extremely slowly. Especially when multiple users access the instance page at the same time, the problem will be exacerbated.
My environment has about 200 running instances.
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?
Because it is a modification of global settings, the test method is to directly modify the global parameters. The corresponding code modifications are for new deployments. There are no tests for newly deployed scenarios.
test environment:
ACS 4.18.0.0 + Galera mariadb server CLuster 10.6
Ubuntu 20.04+KVM