LZMA VS brotli

Compare LZMA vs brotli and see what are their differences.

LZMA

(Unofficial) Git mirror of LZMA SDK releases (by jljusten)

brotli

Brotli compression format (by google)
Our great sponsors
  • JetBrains Dev Survey - What’s up with the C++ ecosystem in 2023?
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Onboard AI - ChatGPT with full context of any GitHub repo.
  • WorkOS - The modern API for authentication & user identity.
LZMA brotli
2 23
40 12,943
- 1.1%
0.0 8.6
over 5 years ago 1 day ago
C++ TypeScript
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

LZMA

Posts with mentions or reviews of LZMA. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-04.
  • Searching Compressed Space
    2 projects | /r/learnpython | 4 May 2021
    And that links to https://www.7-zip.org/sdk.html , in the download there see the DOC folder for documentation? I really can't figure out how that somehow 'sends you back to python's lzma'...

brotli

Posts with mentions or reviews of brotli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-12.
  • The Full-Stack development experience
    2 projects | dev.to | 12 Oct 2023
    An additional element that we can finally remove from our stack is the minification of JavaScript and CSS files. Thanks to algorithms like brotli (with a very Swiss flavour) we no longer need to minify and compress our files before distributing them. Cloudflare, Nginx, or Apache will take care of everything for us.
  • How Much Faster Is Making a Tar Archive Without Gzip?
    8 projects | news.ycombinator.com | 10 Oct 2022
    For anyone who wants to try this, zstd -T0 uses all your threads to compress, and https://github.com/facebook/zstd has a lot more description. Brotli, https://github.com/google/brotli, is another modern format with some good features for high compression levels and Content-Encoding support in web browsers. You might also want to play with the compression level (-1 to -11 or more, zstd's --fast=n).

    One reason these modern compressors do better is not any particular mistake made defining DEFLATE in the 90s, but that new algos use a few MB of recently seen data as context instead of 32KB, and do other things impractical in the 90s but reasonable on modern hardware. The new algorithms also contain logs of smart ideas and have fine-tuned implementations, but that core difference seems important to note.

  • Troubling Launching Duckstation
    2 projects | /r/macgaming | 5 Sep 2022
    It seems to be using a lib called brotli - https://github.com/google/brotli. Can you compile from source?
  • 2000’s Winamp/WMP-ish skins?
    9 projects | /r/foobar2000 | 26 Jul 2022
    (++) Play Youtube videos and playlistsRelease date: Feb 3 20223dyd, [email protected] libraries: brotli https://github.com/google/brotli (1.0.7)
  • Stop delaying. Share knowledge on a blog built with Eleventy.
    7 projects | dev.to | 19 Jul 2022
    Alright, the minifying is done. What else? Did you know you can serve HTML, CSS and JS compressed? A lot of websites still use gzip, but there’s also Brotli. Brotli is specifically made for the web and compresses a lot better than gzip in most cases.
  • Configuring CloudFront to compress objects in AWS CDK
    2 projects | dev.to | 1 Jun 2022
    You can use CloudFront to automatically compress certain types of objects (files) and serve the compressed objects when viewers (web browsers or other clients) support them. Viewers indicate their support for compressed objects with the Accept-Encoding HTTP header. CloudFront can compress objects using the Gzip and Brotli compression formats. When the viewer supports both formats, CloudFront prefers Brotli.
  • Looking for maintainer for jvm-brotli
    7 projects | /r/java | 18 Apr 2022
    Hi /r/java! Jetty is considering implementing dynamic Brotli compression, but the current JVM wrapper for Google's Brotli (jvm-brotli) is somewhat ... abandoned.
    7 projects | /r/java | 18 Apr 2022
  • dabbling @epilot-dev with ______
    3 projects | dev.to | 21 Mar 2022
    Year 2022 marked an amazing start for me with a new stint with epilot GmbH based out of Cologne, Germany. I joined the team to be working on their micro-frontend architecture, with my primary focus going to be on the performance aspects of the applications. Like the first recent addition we did after I started was to add brotli compression to each of our micro-frontend (MFEs) bundles.
  • Microsoft Security Advisory CVE-2020-8927 | .NET Remote Code Execution Vulnerability · Issue #30 · PowerShell/Announcements
    2 projects | /r/PowerShell | 20 Mar 2022
    The actual vulnerability is in the third party brotli library. The patch that fixes the vulnerability is here https://github.com/google/brotli/releases/tag/v1.0.9

What are some alternatives?

When comparing LZMA and brotli you can also consider the following projects:

zstd - Zstandard - Fast real-time compression algorithm

Snappy - A fast compressor/decompressor

LZ4 - Extremely Fast Compression algorithm

ZLib - A massively spiffy yet delicately unobtrusive compression library.

LZHAM - Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed, C/C++

zlib-ng - zlib replacement with optimizations for "next generation" systems.

haproxy - HAProxy Load Balancer's development branch (mirror of git.haproxy.org)

LZMAT - git mirror of LZMAT (http://www.matcode.com/lzmat.htm)