Skip to content
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

[QUESTION]1.20.20版本,接口列表加载时候响应很慢,提速的思路? #30218

Closed
KyleWong2007 opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
状态:待处理 已分配给相关处理人等待处理人处理并更新状态

Comments

@KyleWong2007
Copy link

请描述您的问题

点击接口列表大概有10s左右的响应时间,服务器性能满足8C16G。请问有什么限制速度的可能性和提速的思路呢?

参考:/api/definition/list/的响应速度大约80ms
企业微信截图_17128076211517

@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label Apr 11, 2024
@fit2-zhao
Copy link
Contributor

fit2-zhao commented Apr 11, 2024

可以尝试调整MySQL配置: “ /opt/metersphere/conf/my.cnf ” 中的参数 “innodb_buffer_pool_size” ;
根据MySQL官方文档中建议可以设置MySQL所占内存的 80% ,您可以根据自己的部署现状调整,平台默认比较小。

@github-actions github-actions bot added 状态:待用户反馈 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels Apr 11, 2024
@KyleWong2007
Copy link
Author

可以尝试调整MySQL配置: “ /opt/metersphere/conf/my.cnf ” 中的参数 “innodb_buffer_pool_size” ; 根据MySQL官方文档中建议可以设置MySQL所占内存的 80% ,您可以根据自己的部署现状调整,平台默认比较小。

有提速效果,感谢!

@github-actions github-actions bot added 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 and removed 状态:待用户反馈 labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
状态:待处理 已分配给相关处理人等待处理人处理并更新状态
Projects
None yet
Development

No branches or pull requests

3 participants