|
|
|
|
|
by kinggencha
1339 days ago
|
|
If you're reimplementing DNS lookups with caching in your own code, you are very likely doing something wrong. The title of the entire story already had me confused, as it suggests you somehow need DNS for UDP. Everything that is presented here is a caching strategy. |
|
In this case it is probably 'using the wrong tool, Node.js'. [0]
> The title of the entire story already had me confused
I needed to read the whole article two times to understand what exactly is going on.
It's really should be titled "Sending UDP Messages a bit faster in Node.js because Node.js by default sucks at invoking getaddrinfo()"
[0] https://youtu.be/v79fYnuVzdI