cURL / Mailing Lists / curl-library / Single Mail


Re: Determine available upload/download bandwidth

From: Nathan Rosenblum <>
Date: Fri, 29 Nov 2013 13:37:27 -0800

On Thu, Nov 28, 2013 at 1:35 PM, Daniel Stenberg <> wrote:

> On Tue, 26 Nov 2013, Sandeep Sastry wrote:
> I am looking for suggestions and solutions on determining available
>> bandwidth before uploading or downloading.
> There's no way and for an application there's no fixed available bandwidth
> - ever.
> What does available bandwidth mean? At every possible moment in time you
> can fire up something else in the background that changes the conditions
> for your particular application and gives it more or less than it had the
> second before.
> Is "available bandwidth" what you managed to transfer 10 seconds ago? What
> you managed to use yesterday? If so, then just count that and use in the
> future. If it isn't, you need to adjust dynamically for the conditions you
> get while doing the transfer. Or let the user set the limits based on some
> knowledge about the physical pipe he/she uses.
It's worth pointing out that there have been methods developed for
estimating the BDP of a network link from a single endpoint. However, some
of these methods are patent encumbered (see e.g., so
their usefulness to you may vary.



List admin:
Received on 2013-11-29