PHP Classes

CTokenBucket: Token bucket filter for a variety of purposes

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2003-05-09 (14 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 635 All time: 4,831 This week: 681Up
Version License Categories
tokenbucket 1.0.0Public DomainAlgorithms
Description Author

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

Name: Rene Kluwen <contact>
Classes: 6 packages by
Country: The Netherlands The Netherlands
Age: 47
All time rank: 732 in The Netherlands The Netherlands
Week rank: 305 Down8 in The Netherlands The Netherlands Down

  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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,831
This week:681Up