apolloconfig / apollo

Apollo is a reliable configuration management system suitable for microservice configuration management scenarios.
https://www.apolloconfig.com
Apache License 2.0
28.93k stars 10.19k forks source link

在项目namespace数量比较多的情况下(大约1000个),打开页面加载速度很慢,比较影响用户体验,这个是否有什么优化改进方案? #5126

Closed hezhaoye closed 2 weeks ago

hezhaoye commented 2 months ago

在项目namespace数量比较多的情况下(大约1000个),打开页面加载速度很慢,比较影响用户体验,这个是否有什么优化改进方案?

klboke commented 2 months ago

什么版本的

hezhaoye commented 2 months ago

什么版本的

Apollo 2.0.0-RC1 Release

klboke commented 2 months ago

升级到2.1.0会有明显改善,详情见 https://github.com/apolloconfig/apollo/pull/4473

hezhaoye commented 2 months ago

好的,感谢。

hezhaoye commented 2 months ago

升级到2.1.0会有明显改善,详情见 #4473

升级后,发现了一个新的问题,这段逻辑在namespace很多的情况下,执行速度很长,在大概500个namespace的情况下,耗时大概25秒。看看这里是否可以优化下?

image
hezhaoye commented 2 months ago

话说这个是否可以通过分页来实现页面加载速度提升呢

klboke commented 2 months ago

最新版本可以清理历史数据,也有助于加快查询

stale[bot] commented 4 weeks ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

stale[bot] commented 2 weeks ago

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.