[KongchangAI]
ProductLZ4 compression library

LZ4

An open-source lossless compression algorithm library known for its extremely high compression and decompression speeds. It is released under the BSD 2-Clause license, written in C, and widely used in areas including the Linux kernel, file systems, databases, and containers.

Timeline (last 90 days)

Nov 5

In scenarios where compressed data is accessed frequently (such as caches, logs and image layers), choosing LZ4 yields higher overall benefit, because decompression cost matters more than storage cost.

Unverified50%
Nov 5

LZ4 is an open-source compression library written in C and maintained by Yann Collet.

Unverified50%
Nov 5

LZ4 has more than 12,000 stars on GitHub.

Unverified50%
Nov 5

LZ4's decompression speed can reach several GB/s.

Unverified50%
Nov 5

LZ4 uses the BSD 2-Clause license.

Unverified50%
Nov 5

LZ4 is a dictionary-based lossless compression algorithm whose ideas derive from LZ77.

Unverified50%
Nov 5

LZ4's matching strategy: it keeps only hash table indexes for the most recent bytes, and match lookup performs just one probe with no backtracking.

Unverified50%
Nov 5

Compared with algorithms such as zlib and Snappy, LZ4's decompression speed is typically an order of magnitude ahead.

Unverified50%
Nov 5

LZ4's compression ratio is generally between 2:1 and 3:1, while zlib is above 3:1.

Unverified50%
Nov 5

LZ4 is integrated into the Linux kernel for zram and compressed caches.

Unverified50%

4 more timeline events

All Facts (14)

Source Articles