Chunking (computing)

Not to be confused with Thunking.

In computer programming, chunking has multiple meanings.

## Contents

* 1 In memory management
* 2 In HTTP message transmission
* 3 In data deduplication, data synchronization and remote data compression
* 4 See also
* 5 References

## In memory management

Typical modern software systems allocate memory dynamically from structures known as heaps. Calls are made to heap-management routines to allocate and free memory. Heap management involves some computation time and can be a performance issue. Chunking refers to strategies for improving performance by using special knowledge of a situation to aggregate related memory-allocation requests. For example, if it is known that a certain kind of object will typically be required in groups of eight, instead of allocating and freeing each object individually, making sixteen calls to the heap manager, one could allocate and free an array of eight of the objects, reducing the number of calls to two.

## In HTTP message transmission

Main article: Chunked transfer encoding

Chunking is a specific feature of the HTTP 1.1 protocol.[1] Here, the meaning is the opposite of that used in memory management. It refers to a facility that allows inconveniently large messages to be broken into conveniently-sized smaller "chunks".

## In data deduplication, data synchronization and remote data compression

In data deduplication, data synchronization and remote data compression, Chunking is a process to split a file into smaller pieces called chunks by the chunking algorithm. It can help to eliminate duplicate copies of repeating data on storage, or reduces the amount of data sent over the network by only selecting changed chunks. The Content-Defined Chunking (CDC) algorithm like Rolling hash and its variants have been the most popular data deduplication algorithms for the last 15 years.[2]

## See also

* Chunk (information), a fragment of data within certain file formats

## References

1. ↑ "HTTP/1.1: Protocol Parameters". https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1.
2. ↑ "FastCDC: a Fast and Efficient Content-Defined Chunking Approach for Data Deduplication". USENIX ATC ’16. 2016. https://www.usenix.org/system/files/conference/atc16/atc16-paper-xia.pdf. Retrieved 2019-12-10.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Chunking (computing). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Chunking_(computing)&oldid=281391"