question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Periodical refresh of DnsNameResolver

See original GitHub issue

Please answer these questions before submitting your issue.

Original discussion: https://groups.google.com/forum/#!topic/grpc-io/wxgLgjzkR30

Currently DnsNameResolver soles relies on refresh() being called to re-resolve. refresh() currently is called only when there is a connection failure, but there are cases where refreshing is needed without connection failure, e.g., rolling deploys, or simply adding a server. We could introduce periodic refresh to DnsNameResolver.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:23 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
markdrothcommented, Aug 10, 2018

That’s the work-around that we’re currently advertising, but honestly, I think it’s kind of a hack. We should not heve to force connection churn (and the resulting CPU overhead of a new handshake) just to get the client to re-resolve periodically. If we want the client to re-resolve periodically, I think we should just be able to tell it to do that.

0reactions
andyxningcommented, Sep 21, 2018

/sub

Read more comments on GitHub >

github_iconTop Results From Across the Web

grpc/grpc - Gitter
Using client side load balancing: round_robin + DnsNameResolver. Would like to remove gRPC server node by updating DNS record but DnsNameResolver seems to ......
Read more >
DnsResolverGroupBuilder (Armeria 1.16.0 API reference) - Javadoc.io
Standard DnsNameResolver will only expire a cache entry after TTL, ... The refreshing AddressResolver will only start auto refresh for a given hostname...
Read more >
Reactor Netty Reference Guide
Enables an AddressResolverGroup of DnsNameResolver that supports random selection of destination addresses if multiple are provided by the ...
Read more >
How to refresh the DNS cache on OpenDNS' Global Resolvers?
If there's anything amiss with a certain domain, you can always refresh OpenDNS's cache for the domain using this tool. The steps to...
Read more >
DNS probe - ServiceNow Docs
DNS probes determine the DNS names for configuration items (CI). The default DNS Name Resolver probe is a lightweight and fast probe. It...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found