sofastack / sofa-registry

SOFARegistry is a production-level, low-latency, high-availability service registry powered by Ant Financial.
https://www.sofastack.tech/sofa-registry/docs/Home
Apache License 2.0
653 stars 246 forks source link

Data reported by the registry #77

Open fan2008shuai opened 4 years ago

fan2008shuai commented 4 years ago

您好,sofa-registry会实现上报数据的功能吗?比如上报实例的连接数、错误数、超时数等数据方便客户端用来做负载均衡。例如,客户端根据实例当前的连接数、错误数、超时数等数据从地址列表中选择一个实例。

sofastack-bot[bot] commented 4 years ago

Hi @fan2008shuai, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.

We encourage you to describe your issue in English which is more friendly to other users.

Hello, will sofa-registry implement the function of reporting data? For example, data such as the number of connections, the number of errors, and the number of timeouts for reporting instances are convenient for clients to use for load balancing. For example, the client selects an instance from the address list based on data such as the current number of connections, errors, and timeouts. -Is this requirement suitable for the registry? -If the registry is not suitable, how should it be designed to fulfill such requirements? Looking forward to your reply. Thank you for your hard work!