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

怎么自定义负载均衡 #310

Closed
manchurio opened this issue Dec 5, 2021 · 4 comments
Closed

怎么自定义负载均衡 #310

manchurio opened this issue Dec 5, 2021 · 4 comments

Comments

@manchurio
Copy link

有什么方法可以自定义负载均衡,
比如我想优先调用 最新patch version 的servant,要怎么做

@defool
Copy link
Collaborator

defool commented Dec 6, 2021

从registry获取的节点信息中没有patch版本信息,目前看这个功能实现成本比较高

@manchurio
Copy link
Author

@defool 不拿patch version也行, 是否可以自定义数据给servant, client可以拿到这些自定义数据,然后client 再自定义负载均衡

@defool
Copy link
Collaborator

defool commented Dec 8, 2021

servant

目前看没有可以自定义的数据,比较认可支持每个节点有自定义元数据,不过需要比较大的改动,涉及到tarsregistry/tarsweb/各语言sdk支持

@baiweiguo
Copy link

baiweiguo commented Dec 8, 2021 via email

@lbbniu lbbniu closed this as completed May 21, 2022
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

4 participants