-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
启动太慢了,链接metaServer时间太长 #1735
Comments
打开debug日志,看一下详细信息 |
看上去是连CAT慢 |
是否有很多网卡之类的?之前有遇到过WINDOWS台式机由于有很多虚拟网卡,导致获取hostname很慢 - https://github.com/ctripcorp/apollo/blob/master/apollo-core/src/main/java/com/ctrip/framework/foundation/internals/NetworkInterfaceManager.java#L46 |
非常感谢,目前环境是windows,确实存在很多虚拟网卡,大概有10多个(安装了VM,Docker等等虚拟机)难怪比同事的机器慢那么多。应该就是这个问题。 通过计算权重,最后得出来的ip地址不是本地物理网卡的ip。 |
由于是开发环境,这个问题目前的解决方案是,禁用不需要的虚拟网卡(有需要的时候再启用),启动项目时间明显缩短, |
case先关闭了,如还有问题,可以提供更多信息,或进群交流。 |
感谢,我把vm网卡关闭启动快多了。 |
启动太慢 问题依然在,linux 两个网卡也慢 |
看一下客户端版本,在 #2152 提交过这块的性能优化 |
正常启动只需要5秒,在Located meta server address http://localhost:8080 的时候所花费的时间大概在15s左右,请问是否哪里配置的问题导致建立连接的速度慢了
The text was updated successfully, but these errors were encountered: