You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "jasonjoo2010 (GitHub)" <gi...@apache.org> on 2018/10/16 10:30:40 UTC

[GitHub] [incubator-dubbo] jasonjoo2010 commented on pull request #2647: [Dubbo-2578]Smooth Round Robin selection

Because nodes in list may change(after some nodes offline), some entries in WRR cache map will be skipped.

But if some nodes are offline permanent these entries are kinds of waste of memory.
Like `Cache` in guava the recycle will happen every `RECYCLE_TIME` and scan the map removing the entries which `lastupdate > RECYCLE_TIME`. `lastupdate` will be updated every time invoked.

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