gpt4 book ai didi

netflix-eureka - 'Renews' 和 'Renews threshold' 在 Eureka 是什么意思

转载 作者:行者123 更新时间:2023-12-04 06:42:51 27 4
gpt4 key购买 nike

我是 Eureka 的新手,我从 Eureka 服务器的主页 (localhost:8761/) 看到了此信息。我没有从官方文档中找到关于“续订”和“续订阈值”的任何解释。有人可以解释一下这些词吗?谢谢!

最佳答案

希望能帮助到你:
更新:服务器从客户端收到的心跳总数
续订阈值:一个控制 Eureka “自我保护模式”的开关。如果“续订”低于“续订阈值”,则“自我保护模式”处于开启状态。
自我保护模式:

When the Eureka server comes up, it tries to get all of the instance registry information from a neighboring node. If there is a problem getting the information from a node, the server tries all of the peers before it gives up. If the server is able to successfully get all of the instances, it sets the renewal threshold that it should be receiving based on that information. If any time, the renewals falls below the percent configured for that value (below 85% within 15 mins), the server stops expiring instances to protect the current instance registry information.

In Netflix, the above safeguard is called as self-preservation mode and is primarily used as a protection in scenarios where there is a network partition between a group of clients and the Eureka Server. In these scenarios, the server tries to protect the information it already has. There may be scenarios in case of a mass outage that this may cause the clients to get the instances that do not exist anymore. The clients must make sure they are resilient to eureka server returning an instance that is non-existent or un-responsive. The best protection in these scenarios is to timeout quickly and try other servers.


更多详情请引用 Eureka wiki .

关于netflix-eureka - 'Renews' 和 'Renews threshold' 在 Eureka 是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39032741/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com