Answer the question
In order to leave comments, you need to log in
A reliable principle for measuring the bandwidth of an Internet connection from a client to a server?
Good afternoon,
Please tell me a reliable principle for measuring the throughput of an Internet connection from a client to a server (in KBps).
The task is that by means of socket `a (synchronous connection with the server) large amounts of data should be transferred ( from 2 megabytes per second or more ), but, first, it is necessary to calculate whether the width of the user's Internet connection channel is capable of guaranteeing the transfer of such volumes per second per server.
Answer the question
In order to leave comments, you need to log in
It is possible that your connection speed jumps when transferring large files due to different TCP protocol settings on the server and on the client.
Fine-tuning TCP can be done for a long time and without results, but noticeable results can also be achieved.
If linux systems are used, try playing around with TCP_congestion-avoidance algorithms
For example, here is a good article on this topic on Habré
The Internet is built on the basis of networks using channel separation technology. One communication line can transmit data from different sources.
Even if at the initial stage you manage to determine that there is enough bandwidth, it is far from a fact that it will be stable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question