

ares_gethostbyname() is slow on some Windows machines
source link: http://siongui.github.io/2014/09/12/ares-gethostbyname-is-slow-on-some-windows-machines/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

ares_gethostbyname() is slow on some Windows machines
September 12, 2014
The function ares_gethostbyname() in c-ares library, as of version 1.10.0, is slow on some Windows machines.
The more unconnected network interface the machine has, the slower the DNS lookup may be.
This pull request intended to solve this issue, although it is not merged into code base yet.
Per Microsoft's document on GetAdaptersAddresses function, GetAdaptersAddresses(), called by get_DNS_AdaptersAddresses() in c-ares library,
Thus it makes sense to postpone calls to get_DNS_AdaptersAddresses() later. The only concern is that I'm not sure whether the functionality is still correct or not.is implemented only as a synchronous function. The GetAdaptersAddresses function requires a significant amount of network resources and time to complete since all of the low-level network interface tables must be traversed.
Recommend
-
14
CVE 2015-0235: GNU glibc gethostbyname 缓冲区溢出漏洞 blast...
-
8
c-ares 是什么?c-ares 是一个异步 DNS 解析库。 它适用于需要在不阻塞的情况下执行 DNS 查询或需要并行执行多个 DNS 查询的应用程序。默认不开启,如需开启,需要在编译 Swoole 时增加 --enable-cares 参数gethostbyname
-
3
Clone () / fourk () / process creation is slow on some machines advertisements Creating new processes is very slow on some of my machines, and not...
-
4
Nov 10, 2021 英国 ZOO Digital 战略投资土耳其 ARES Media 2021年11月2日,英国媒体本地化供应商 ZOO Digital
-
3
the tragedy of gethostbyname – Ariadne's Space Skip to the content A frequent complaint expressed on a certain website about Alpine is r...
-
15
Command Mission AI - Ares-Lite v1.1 (NEW)
-
10
雷克沙推出新款ARES RGB DDR5内存:6400MHz 32GB套装
-
5
Hello from Ares! August 9, 2023 on Drew DeVault's blog I am pleased to be writing today’s blog post from a laptop running
-
5
The Ares Operating System ...
-
4
新浪VR > 正文页 Snap 关闭企业 AR 部门 ARES,计划裁员 170 人...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK