Slashdot Mirror


Google Launches Brotli, a New Open Source Compression Algorithm For the Web

Mark Wilson writes: As websites and online services become ever more demanding, the need for compression increases exponentially. Fans of Silicon Valley will be aware of the Pied Piper compression algorithm, and now Google has a more efficient one of its own. Brotli is open source and is an entirely new data format that offers 20-26 percent greater compression than Zopfli, another compression algorithm from Google. Just like Zopfli, Brotli has been designed with the internet in mind, with the simple aim of making web pages load faster. It is a "lossless compressed data format that compresses data using a combination of the LZ77 algorithm and Huffman coding, with efficiency comparable to the best currently available general-purpose compression methods". Compression is better than LZMA and bzip2, and Google says that Brotli is "roughly as fast" as zlib's Deflate implementation.

10 of 215 comments (clear)

  1. What's the Weissman score? by monkeyzoo · · Score: 5, Funny

    What's the Weissman score?

  2. ompresses data by dmbasso · · Score: 5, Funny

    It is a "lossless compressed data format that ompresses data

    ... by discarding random bits and pieces of redundant occurrences of words.

    --
    `echo $[0x853204FA81]|tr 0-9 ionbsdeaml`@gmail.com
    1. Re:ompresses data by wickerprints · · Score: 5, Funny

      No no no... you don't understand. It's just THAT good of a ompression gorithm.

  3. A better idea by Anonymous Coward · · Score: 5, Insightful

    If they want to make webpages load quicker, remove ads.

    1. Re:A better idea by Anonymous Coward · · Score: 4, Insightful

      If they want to make webpages load quicker, remove ads.

      That would only be a linear improvement. They need to load exponentially faster.

  4. To make web pages load faster: by Anonymous Coward · · Score: 5, Insightful

    Stop making my browser run 500 trips to DNS in order to run 500 trips to every ad server in the world.

    Also, for the everloving sake of Christ, you don't need megabytes of scripts, or CSS, or any other shit loaded from 50 more random domains in order to serve up an article consisting of TEXT. One kilobyte of script will be permitted to setup a picture slideshow, if desired. /Get off my e-lawn

  5. name and shame by Thud457 · · Score: 4, Interesting

    if Google was serious about speeding things up, they'd make a top 1000 list of stupid websites that load a crapton of useless scripts and ads just to present simple content across the web.

    --

    the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

    1. Re:name and shame by doconnor · · Score: 4, Informative

      Google announced a while ago that they would take into account page load speed in search ranking.

  6. For the web only, not much more by NotInHere · · Score: 5, Informative

    From the paper:

    Unlike other algorithms compared here, brotli includes a static dictionary. It contains 13’504
    words or syllables of English, Spanish, Chinese, Hindi, Russian and Arabic, as well as common
    phrases used in machine readable languages, particularly HTML and JavaScript.

    This means that brotli isn't a general purpose algorithm, but only built for the web, not more. I guess that future versions of the algorithm will include customized support for other, smaller languages, whose compression databases are only downloaded if you open a web page in that language.

  7. Re:7zip by sims+2 · · Score: 5, Funny

    Let it be said that the USA resents being called a developing country.

    --
    Minimum threshold fixed. Thanks!