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

有个非常弱的问题 #1748

Closed
spjich opened this issue Dec 7, 2018 · 3 comments
Closed

有个非常弱的问题 #1748

spjich opened this issue Dec 7, 2018 · 3 comments

Comments

@spjich
Copy link

spjich commented Dec 7, 2018

为了保证高可用,ConfigService和AdminService都是无状态以集群方式部署的,为了解决服务发现问题从而引入了Eureka。 这里为什么不直接使用nginx作为反向代理?

@comsince
Copy link

comsince commented Dec 7, 2018

不同环境需要部署各自的configservice和AdminService,在portal获取各个环境的namespace时需要向eureka查询各个环境对应的configservice和Adminservice的地址,从而获取相应的配置

@nobodyiam
Copy link
Member

@spjich

客户端需要和config service保持长连接,如果走nginx,对nginx的压力会比较大(考虑6位数的长连数量),所以设计是发现服务列表,然后ip直连,不过如果机器规模比较小,那用nginx会比较简单

@nobodyiam
Copy link
Member

case先关闭了,如还有问题,可以提供更多信息,或进群交流。

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

3 participants