[Box Backup] Adaptive MaxUploadRate, Quality of Service

Achim J. Latz achim+box at qustodium.net
Sat Feb 11 15:10:03 GMT 2012


Hello list:

I have been wondering about MaxUploadRate and its implications:

At the moment, at "install" time, I time a simple wget POST request for 
a 500kb upload to determine the current "bandwidth" available for a 
particular machine, and set MaxUploadRate to 50% of that value.

Ideally, I would like to determine the existing bandwidth not only once 
at install time, but dynamically every time (at least) bbackupd starts a 
backup process. For instance, think about a laptop user that uses the 
same machine in the office (10MB+ SDSL or fibre), home (ADSL) and 3G: 
three rather different upload rate scenarios.

SyncAllowScript seems like the natural place to do this (via the same 
timed wget POST request), but unfortunately updating MaxUploadRate has 
no effect on the currently running, about-to-start-backing-up bbackupd 
instance.

Any ideas how to get around this? In fact, would it be possible to 
"internalise" that kind of "background intelligent transfer system" or 
use existing frameworks depending on the OS, such as Microsoft's [1]?

Have a great weekend, Achim

[1] 
<http://msdn.microsoft.com/en-us/library/windows/desktop/bb968799%28v=vs.85%29.aspx>

-- 
Achim J. Latz, Qustodium Internet Security
achim.latz at qustodium.net · http://www.qustodium.net
Data Encryption · Backup Automatisation · E-Mail Protection



More information about the Boxbackup mailing list