- Bucket (computing)
In
computing , the term bucket can have several meanings. It is used both as a livemetaphor , and as a generally accepted technical term in some specialised areas. A bucket is most commonly a type of data buffer or a type ofdocument or in which data is divided into regions.Features of a bucket
Various usages relate to different features. There is no usage that is consistent with every one of these features.
*The contents of a bucket are unsorted.
*A bucket has a fixed size, which is determined when it is created.
*A bucket has a limited number of states:
**It may be empty.
**It may be full or partly full. Some usages further distinguish:
***It may be partly full.
***It may be full. Some usages further distinguish:
****It may be exactly full.
****It may be overflowing.
*A bucket must exist before anything can be put into it.Types of bucket
Bit bucket
This is a humorous but common phrase. Something goes into the
bit bucket when it is deleted, generally irreversibly and quite often wrongly, such as files oremail s that just disappear.It has been commonly suggestedFact|date=January 2008 that this usage dates from the days when
punched card s and/orpunched tape were commonFact|date=January 2008. Card and paper-tape punches each had a receptacle for the 'chips' punched from the cards or tape to create the holes (rectangular in a card, round in a paper tape), which often looked like a bucket and was known by this name. Byanalogy it was jokingly suggestedFact|date=January 2008 that the CPU, which in those days was an equipment rack of similar size to a largeperipheral unit, contained a similar receptacle for lost data.Documentation bucket
A bucket is a document of no definite size to which information of interest is added with no structure. Many software packages have a README file which is a bucket containing the very latest information. In
IBM culture, such a file is known as a bucket and is opened for critical fixes and fix packages.Bucket (buffer)
Buffers known as buckets are used:
*In the
bucket sort algorithm .
*Inbucket elimination algorithms.
*In thetoken bucket (TB) algorithm for networktraffic shaping .
*In theleaky bucket (LB) algorithm for networktraffic shaping .
*Inbucket brigade algorithm s.
Wikimedia Foundation. 2010.