Leaky bucket
Network traffic shaping and policing algorithm
The leaky bucket is an algorithm based on an analogy of how a bucket with a constant leak will overflow if either the average rate at which water is poured in exceeds the rate at which the bucket leaks or if more water than the capacity of the bucket is poured in all at once. It can be used to determine whether some sequence of discrete events conforms to defined limits on their average and peak rates or frequencies, e.g. to limit the actions associated with these events to these rates or delay them until they do conform to the rates.
Nº Q1378386 ★
Common · Knowledge
Leaky bucket
Network traffic shaping and policing algorithm
The leaky bucket is an algorithm based on an analogy of how a bucket with a constant leak will overflow if either the average rate at which water is poured in exceeds the rate at which the bucket leaks or if more water than the capacity of the bucket is poured in all at once. It can be used to determine whether some sequence of discrete events conforms to defined limits on their average and peak rates or frequencies, e.g. to limit the actions associated with these events to these rates or delay them until they do conform to the rates.
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
The leaky bucket is an algorithm based on an analogy of how a bucket with a constant leak will overflow if either the average rate at which water is poured in exceeds the rate at which the bucket leaks or if more water than the capacity of the bucket is poured in all at once. It can be used to determine whether some sequence of discrete events conforms to defined limits on their average and peak rates or frequencies, e.g. to limit the actions associated with these events to these rates or delay them until they do conform to the rates. It may also be used to check conformance or limit to an average rate alone, i.e. remove any variation from the average. It is used in packet-switched computer networks and telecommunications networks in both the traffic policing, traffic shaping and scheduling of data transmissions, in the form of packets, to defined limits on bandwidth and burstiness (a measure of the variations in the traffic flow). A version of the leaky bucket, the generic cell rate algorithm, is recommended for Asynchronous Transfer Mode (ATM) networks in UPC and NPC at user–network interfaces or inter-network interfaces or network-to-network interfaces to protect a network from excessive traffic levels on connections routed through it. The generic cell rate algorithm, or an equivalent, may also be used to shape transmissions by a network interface card onto an ATM network. At least some implementations of the leaky bucket are a mirror image of the token bucket algorithm and will, given equivalent parameters, determine exactly the same sequence of events to conform or not conform to the same limits.
Text: Wikipédia, CC BY-SA 4.0. · Image: Graham Fountain (CC BY 3.0) ·
Related cards
-
T
Token bucket
Scheduling algorithm for network transmissions
Nº Q386456 ★★
Not listed
-
C
Consistent Overhead Byte Stuffing
Algorithm for encoding data bytes
Nº Q5163224 ★
Not listed
-
S
Stack buffer overflow
This vulnerability occurs when a program inputs data that exceeds the capacity of a buffer allocated on the stack.
Nº Q1343128 ★
Not listed
-
L
Leaky abstraction
Software abstraction that leaks details that it is supposed to abstract away
Nº Q6509341 ★
Not listed
-
R
Reactive programming
A programming paradigm based on event-driven architecture for processing data changes in real-time
Nº Q4354073 ★★
Not listed
-
Sweep line algorithm
Class of algorithms in computational geometry that uses a conceptual sweep line/surface to solve various problems in Euclidean space
Nº Q2372426 ★
Not listed