Login   Register  
PHP Classes
elePHPant
Icontem

CTokenBucket

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Rene Kluwen
Name: Rene Kluwen <e-mail contact>
Packages: 6 Browse all classes by Rene Kluwen Browse all classes by
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 43
All time rank: 862 in The Netherlands The Netherlands
Week rank: 113 Down4 in The Netherlands The Netherlands Down


  Detailed description   Download .zip .tar.gz  
This class implements a token bucket filter. Token bucket filters are used in software engineering to limit a number of events within a certain time.

An example is how ISP's limit bandwidth to a fixed Kilobyte per second rate.

A typical usage of this class is limiting the amount of posts to, for example, a guestbook or forum for a user of your site.

An example is included in the source file. Call as: http://yourdomain/../tokenbucket.php/demo

  Classes of Rene Kluwen  >  CTokenBucket  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CTokenBucket
Base name: tokenbucket
Description: Token bucket filter for a variety of purposes
Version: -
PHP version: -
License: Public Domain
All time users: 594 users
All time rank: 4471
Week users: 1 user
Week rank: 2183 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
Link Description
Token Bucket Demo Demo of the class
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file license.txt Lic. License
Plain text file tokenbucket.php Class Class file

Download all files: tokenbucket.tar.gz tokenbucket.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.