Home > other >  Ping server resource consumption?
Ping server resource consumption?

Time:10-02

A network idiocy, the.net developers, develop PC, now has five upload channel, want to live long Ping5 server address, choose the fastest line automatically by the response time, whether such a strategy will lead to abnormal server, please?
More special is, the PC may have thousands of simultaneous users at the same time, thousands of IP address ping a server at the same time, the server will have pressure?
If the pressure is bigger, a while ping an?

CodePudding user response:

A ping packet: 32 plus 20 bytes and IP packet is 8 bytes of ICMP header
Should be 60 bytes, so the bandwidth should be 60 times 8 is 480 bit,
1000 host ping, at the same time a ping packets per second is to take up is 4800000 bit/s resources, converted to the bandwidth of the 58 KB/s KB is a much

So the server if you have any pressure or see how much is your server Internet access bandwidth, 1000 host every 1 s hair a ping packet is the bandwidth of the 58 KB/s, 2000 host every 2 s sending a ping packet is the bandwidth of the 58 KB/s,

CodePudding user response:

Thank you,
According to that server pressure is small.
Problem before but I didn't describe clearly, I was to choose the fastest channel for the picture upload
Consulting others, seems to say the fastest response is obtained by way of ping doesn't represent the route to upload the fastest, want to upload the fastest channel need to use a larger file upload operation to get more accurate results, but the solution certainly cannot be used for real-time monitoring, or the server will store a large amount of test junk files,

Here want to ask again, through the way of the ping, the response time is the shortest fastest upload this train of thought on it?
If you have any good Suggestions to real-time wonky, measuring the fastest upload line?

CodePudding user response:

Will automatically upload files regularly, at ordinary times more time consuming, and then by selecting algorithm to give the optimal line, no data support on pure ping is not accurate, ping said fast response, only if the server is the speed limit, it must slow

It is recommended to use 1 MB, 10 MB and 100 MB file time test, have the data with the algorithm to select the optimal

Since can upload it can delete, otherwise the space is always full of, what does that mean
  • Related