QoS Bandwidth Throttler

Bandwidth throttling in practice
Package:
QoS Bandwidth Throttler
Summary:
Limit the speed of files served for download
Groups:
Files and Folders, HTTP, Performance and optimization, PHP 5, Systems administration
Author:
Artur Graniszewski
Description:
This class can be used to limit the speed of files served for download.

It intercepts the PHP script output by setting a buffering handler that is called every time a given number of bytes are served to the browser.

The class measures the time since the last time the PHP output buffer was flushed and hold on PHP for a while if the average download speed is above a given limit.


Powered by Gewgley