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

.netcore3.1启动初始化apollo要20多分钟 #223

Open
lpleaves123 opened this issue Feb 8, 2023 · 2 comments
Open

.netcore3.1启动初始化apollo要20多分钟 #223

lpleaves123 opened this issue Feb 8, 2023 · 2 comments

Comments

@lpleaves123
Copy link

(1)应用的部署环境:centos7 应用部署方式 docker
(2)apollo 是docker-compose部署的
(3)本地 ,测试环境 apollo初始化非常快,
但是生产环境初始化apollo很慢 ,大概20多分钟后在 /opt/data目录才看到配置文件

image
image

@pengweiqhca
Copy link
Contributor

这个应该和代码没有太大关系,因为apollo client在获取到配置之后就会立即缓存到文件中。更多可能和环境有关系。

@lpleaves123
Copy link
Author

这个应该和代码没有太大关系,因为apollo client在获取到配置之后就会立即缓存到文件中。更多可能和环境有关系。

apollo client在获取到配置之后就会立即缓存到文件中 ,就是这个过程生存环境花了20多分钟导致 应用迟迟不能启动,在应用容器内telnet MetaServer地址, 网络是通的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants