Skip to content
Sections
>> Trisquel >> Packages >> aramo >> devel >> golang-github-tsenart-tb-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Source: golang-github-tsenart-tb  ]

Package: golang-github-tsenart-tb-dev (0.0~git20151208.0.19f4c3d-2)

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).

Download golang-github-tsenart-tb-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 7.1 kB39 kB [list of files]