gzip
Faster gzip decompression, direct random reads, and single-file extraction from compressed images—in standard gzip files every reader still opens.
Against stock and the alternatives
Same machine for every bar. Longer is faster.
What it is
gzip and zlib sit inside nearly every operating system, web server, language runtime, database, and backup tool. Reading compressed data—or pulling a small slice or single file out of a large archive or compressed disk image—usually forces software to decompress everything ahead of it from the beginning, turning reads and extraction into a major bottleneck.
What we did
We removed the reading bottleneck while keeping files standard gzip that every existing gzip reader still opens, with identical decompressed output. Decompressing files written by our tools runs up to 14× faster on a server—and in head-to-head decompression tests on those files, Talarea reaches about 4× stock versus about 1.3× for pigz. Random reads inside a compressed file run about 250× faster than reading from the start, and in early results, pulling a single file out of a gzip-compressed disk image runs 40× to over 1,000× faster depending on file size, with small files fastest.
For ordinary gzip files written elsewhere, decompression runs about 50% faster on desktop and Arm processors, with early work reaching up to 3× faster. On the compression side, our drop-in replacement also compresses up to 12× faster while producing byte-for-byte identical gzip output.
Results
| Workload | Setting | vs. stock |
|---|---|---|
| Full decompression | Standard gzip written by our tools on a server, identical output (vs. pigz: about 4× vs. about 1.3×) | up to 14× |
| Random reads inside a file | Files written by our tools, vs. reading gzip from the start | about 250× |
| Single-file extraction (early results) | Gzip-compressed disk image, files written by our tools (small files fastest) | 40–1,000×+ |
| Compression | Server, byte-for-byte identical output | up to 12× |
The largest decompression, random-read, and single-file gains apply to files written by our tools (which remain standard gzip that every reader opens); ordinary gzip files written elsewhere see smaller gains today—about 50% faster on desktop and Arm, with early work reaching up to 3× faster. Single-file extraction figures (40× to over 1,000×) are early results.
See this work live
Want to see side-by-side runs on your own hardware or data? Request a live demo with our engineering team.