开发者

Number of simultaneous connections supported by web servers

开发者 https://www.devze.com 2023-04-04 02:14 出处:网络
Does anybody know how to find the simultaneous numb开发者_如何转开发er of connections allowed on a web server using libcurl or any other ways?

Does anybody know how to find the simultaneous numb开发者_如何转开发er of connections allowed on a web server using libcurl or any other ways?

What I want is the number of connections allowed to download a single file from web server on an IP.


There is generally no fixed number and even if there is, it is not announced by some standardized protocol.

Generally, you should used reasonable amounts of connections. If you are performing bulk operations, you should take measures to restrict the traffic and the number of connections you produce, e.,g. by including random delays or using a request queue to restrict the number of open connections.

If you just fire requests with everything you got, you quickly risk being shot into the head by the server provider. Some people (like the stack exchange guys) have developed a pretty low threshold for flipping the kill switch.

0

精彩评论

暂无评论...
验证码 换一张
取 消