LWN.net Logo

Google releases a better compression algorithm

Google releases a better compression algorithm

Posted Mar 1, 2013 15:19 UTC (Fri) by jengelh (subscriber, #33263)
In reply to: Google releases a better compression algorithm by nim-nim
Parent article: Google releases a better compression algorithm

>here is no reason for HTTP/2 to use the same algorithms as HTTP/1

Indeed, and therefore, HTTP/2 could just as well use xz. (Or any other established LZMA-ish compressor, but picking xz would follow suit with gzip, which was also used for files and tarballs.)

That, and LZO for the ones who like a trade-off into speed over ratio.


(Log in to post comments)

Google releases a better compression algorithm

Posted Mar 2, 2013 7:55 UTC (Sat) by epa (subscriber, #39769) [Link]

Google has a replacement for LZO: http://code.google.com/p/snappy/

Google releases a better compression algorithm

Posted Mar 3, 2013 2:08 UTC (Sun) by scientes (guest, #83068) [Link]

xz is officially lzma2, as used the same liblzma as the original legacy lzma1. Basically people used lzma before it was ready, so they renamed the final version to avoid confusion over the incompatibility. lzma is now a symlink to xz.

both lzo and xz are very useful, but for differn't things, lzo is most useful when only using the compressed data once, and xz when it is write-once read-many, so you can afford the high compression times and memory requirements.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds