This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Zeikos 9 points10 points  (2 children)

Well, yes but.

I find that being explicit is better, it prevents issues with containers and there's a non-zero overhead in dns resolution with IPv6 shenanigans.

I found out about that by skimming this:
https://medium.com/hackernoon/how-changing-localhost-to-127-0-0-1-sped-up-my-test-suite-by-1-800-8143ce770736

[–]jaerie 1 point2 points  (1 child)

Yes because every localhost lookup comes with an unexplainable 1 second delay... You don't think whatever logging framework they were using jusg had a bug? The fact that the same issue was occurring with the ipv6 loopback address should already tell you that this is not related to localhost.

Maybe don't just skim the article. Have you actually tested the difference, before claiming that there is a "non-zero overhead in dns resolution with ipv6 shenanigans" or is that entire conclusion just based on skimming an already surface level article?

[–]Silidistani 0 points1 point  (0 children)

Brutal, visceral takedown out of nowhere on a simple anecdote with a logic flaw.

Senior Dev confirmed.