You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "carryxyh (GitHub)" <gi...@apache.org> on 2018/11/08 03:34:38 UTC

[GitHub] [incubator-dubbo] carryxyh commented on issue #2752: Optimize retry in failbackregistry

目前我们的retry会在FailbackRegistry初始化的时候进行,我们完全可以让他更加规律的执行。

现在我们有五个集合需要定期检查。更好的方式应该是在这五个集合不为空的时候再进行我们的retry。然后在集合为空的时候再停止我们的任务,以此来解约更多的资源,对整个retry流程实现更精确的控制。

这种情况下,最多我们会有五个任务在执行,最少我们不需要任何一个检查+retry的任务(当我们五个集合都为空的时候)。

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2752 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org