Browse Definitions :
Definition

leaky bucket algorithm

Contributor(s): Matthew Haughn

The leaky bucket algorithm is a method of temporarily storing a variable number of requests and organizing them into a set-rate output of packets in an asynchronous transfer mode (ATM) network.

The leaky bucket is used to implement traffic policing and traffic shaping in Ethernet and cellular data networks. The algorithm can also be used to control metered-bandwidth Internet connections to prevent going over the allotted bandwidth for a month, thereby avoiding extra charges.

The algorithm works similarly to the way an actual leaky bucket holds water: The leaky bucket takes data and collects it up to a maximum capacity. Data in the bucket is only released from the bucket at a set rate and size of packet. When the bucket runs out of data, the leaking stops. If incoming data would overfill the bucket, then the packet is considered to be non-conformant and is not added to the bucket. Data is added to the bucket as space becomes available for conforming packets.

The leaky bucket algorithm can also detect both gradually increasing and dramatic memory error increases by comparing how the average and peak data rates exceed set acceptable background amounts.

In a broader context, the leaky bucket is an analogy for describing how inputs and outputs work in a wide variety of business and technology systems.

See a video demonstration of the leaky bucket in traffic shaping:

This was last updated in April 2015

Continue Reading About leaky bucket algorithm

Join the conversation

3 comments

Send me notifications when other members comment.

Please create a username to comment.

I wonder if the leaky bucket gets used by some companies to help with throttling on their APIs.
Cancel
It's used in telecom to throttle systems and API's. The idea is that under extreme heavy load you don't want to bring down the network, instead you want to maintain a stead rate of transactions that you know you can handle reliable and then just delay or shed the rest of the load. This is what happens in an emergency situation when you can't get a dial-tone. The system is letting as many calls go through as it safely can and then just blocking the rest, rather than what happens with some websites where they get a spike in traffic and then crash. It is also sometimes used for licensing. A consumer of a service pays for a specific rate and the throttle keeps them to that rate. If they want to go faster they pay more for their license.
Cancel
I would not doubt it. Who knows whats going to happen with this "Net Neutrality". now.
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchCompliance

  • compliance audit

    A compliance audit is a comprehensive review of an organization's adherence to regulatory guidelines.

  • regulatory compliance

    Regulatory compliance is an organization's adherence to laws, regulations, guidelines and specifications relevant to its business...

  • Whistleblower Protection Act

    The Whistleblower Protection Act of 1989 is a law that protects federal government employees in the United States from ...

SearchSecurity

  • payload (computing)

    In computing, a payload is the carrying capacity of a packet or other transmission data unit. The term has its roots in the ...

  • passphrase

    A passphrase is a string of characters longer than the usual password (which is typically from four to 16 characters long) that ...

  • Web application firewall (WAF)

    A Web application firewall (WAF) is a firewall that monitors, filters or blocks traffic to and from a Web application. WAFs are ...

SearchHealthIT

SearchDisasterRecovery

SearchStorage

  • computational storage

    Computational storage is defined as an architecture that couples compute with storage in order to reduce data movement. In doing ...

  • data deduplication

    Data deduplication -- often called intelligent compression or single-instance storage -- is a process that eliminates redundant ...

  • public cloud storage

    Public cloud storage, also called storage-as-a-service or online storage is a service model that provides data storage on a ...

Close