You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.
Found the same thing with DNS. Especially on mobiles.
I was thinking of doing the DNS resolution in the golang code itself might help because you can then cache it.
@gedw99 one thing is to perform DNS resolution less often (cache it), second is making it independently to the request.
Also, I think it is all in Golang. If you dial to some DNS name, golang client will use net.LookupXXX to find IP. However we can write something before client to poll DNS every X seconds and change current IP that will be used directly in dial to avoid internal Go client lookup on every request.
On Wed, 18 Apr 2018 at 11:54 Bartek Plotka ***@***.***> wrote:
@gedw99 <https://github.com/gedw99> one thing is to perform DNS
resolution less often (cache it), second is making it independently to the
request.
Also, I think it is all in Golang. If you dial to some DNS name, golang
client will use net.LookupXXX to find IP. However we can write something
before client to poll DNS every X seconds and change current IP that will
be used directly in dial to avoid internal Go client lookup on every
request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATuCwir-yGbV_kL4pagZ8nHpHQykxryQks5tpw1NgaJpZM4Pm_EW>
.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We resolve all configured kEdges on demand. Even when it is used constantly, we perform DNS resolution every each time.
Let's optimize this. (DNS can be flaky)
The text was updated successfully, but these errors were encountered: