[pkg-go] Bug#842003: ITP: golang-github-tsenart-tb -- generic lock-free implementation of the "Token-Bucket" algorithm

Dr. Tobias Quathamer toddy at debian.org
Tue Oct 25 07:23:37 UTC 2016


Package: wnpp
Severity: wishlist
Owner: Dr. Tobias Quathamer <toddy at debian.org>

* Package name    : golang-github-tsenart-tb
   Version         : 0.0~git20151208.0.19f4c3d-1
   Upstream Author : Tomás Senart
* URL             : https://github.com/tsenart/tb
* License         : MIT
   Programming Lang: Go
   Description     : generic lock-free implementation of the 
"Token-Bucket" algorithm

  The token bucket is an algorithm used in packet switched computer
  networks and telecommunications networks. It can be used to check
  that data transmissions, in the form of packets, conform to defined
  limits on bandwidth and burstiness (a measure of the unevenness
  or variations in the traffic flow).
  .
  This implementation of the token bucket generalises its applications
  beyond packet rate conformance. Hence, the word generic. You can use it
  to throttle any flow over time as long as it can be expressed as a
  number (bytes/s, requests/s, messages/s, packets/s, potatoes/s,
  heartbeats/s, etc...).
  .
  The lock-free part of the description refers to the lock-free
  programming techniques (CAS loop) used in the core Bucket
  methods (Take and Put).


This library is needed for the program rclone, see BTS #822793

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20161025/4cd52400/attachment-0001.sig>


More information about the Pkg-go-maintainers mailing list