TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Zstandard v1.5.0

150 pointsby ascomabout 4 years ago

8 comments

rektideabout 4 years ago
When can we bring this to the web? Zstd aka RFC8478[1] is so good. That it can continue to improve at all feels almost unbelievable, but @Cyan4973 &amp;al continue to make it faster, somehow.<p>Especially on mobile, with large assets, I feel like zstd&#x27;s lightning fast decompression time could be a huge win. It used to be that Brotli was the obvious choice for achieving high compression, but it doesn&#x27;t feel so clear to me now. Here&#x27;s one random run-off between the two[2].<p>The other obvious use case is if there is large-ish dynamic-ish data, where the cost of doing Brotli compression each time might be too high.<p>[1] <a href="https:&#x2F;&#x2F;datatracker.ietf.org&#x2F;doc&#x2F;html&#x2F;rfc8478" rel="nofollow">https:&#x2F;&#x2F;datatracker.ietf.org&#x2F;doc&#x2F;html&#x2F;rfc8478</a><p>[2] <a href="https:&#x2F;&#x2F;peazip.github.io&#x2F;fast-compression-benchmark-brotli-zstandard.html" rel="nofollow">https:&#x2F;&#x2F;peazip.github.io&#x2F;fast-compression-benchmark-brotli-z...</a>
评论 #27159506 未加载
评论 #27160271 未加载
评论 #27161037 未加载
aidenn0about 4 years ago
Zstd is so much better than the commonly-used alternatives that I get mildly annoyed when given a .tar.{gz,xz,bz2} it&#x27;s not like it&#x27;s a huge deal, but a much smaller file (compared to gz) or similarly sized with much faster decompression (comared to xz, bz2) just makes me a tiny bit happier.
评论 #27160060 未加载
评论 #27159804 未加载
评论 #27159941 未加载
rubyist5evaabout 4 years ago
Is this the same &quot;zstd&quot; compression used in Fedora&#x27;s btrfs transparent block level compression? I have been thoroughly impressed with it in Fedora 34. If that&#x27;s true, I had no idea that it was a Facebook project. Color me shocked.
评论 #27158930 未加载
评论 #27159712 未加载
评论 #27159412 未加载
评论 #27159038 未加载
greatgoat420about 4 years ago
&gt; Single file Libs &gt; This move reflects a commitment on our part to support this tool and this pattern of using zstd going forward.<p>I love that they are moving toward supporting an amalgamation build. I and many others reach for SQLite because of this feature, and I think this will really increase the adoption of Zstd.
评论 #27159496 未加载
SergeAxabout 4 years ago
Fun fact: when we started compressing our analytical events (furry JSON arrays with lots of context) we&#x27;ve dropped about 60% of our total inbound traffic. I was afraid that compression will eat client&#x27;s battery, but we eventually got a reverse effect: saving energy on radio part, being WiFi or 4G&#x2F;5G.
评论 #27161652 未加载
评论 #27163379 未加载
markdog12about 4 years ago
Good blog post on zstd: <a href="https:&#x2F;&#x2F;gregoryszorc.com&#x2F;blog&#x2F;2017&#x2F;03&#x2F;07&#x2F;better-compression-with-zstandard&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gregoryszorc.com&#x2F;blog&#x2F;2017&#x2F;03&#x2F;07&#x2F;better-compression-...</a>
walrus01about 4 years ago
zstd performance is great on <i>really old</i> and weak CPUs, at its default compression level. I recently tested it with a whole system file tree on a 2005 vintage Pentium M single core (thinkpad x41 tablet) running a bare bones debian install, and was pleasantly surprised.
sudeepjabout 4 years ago
zstandard continues to amazes me. Compared to zlib (level=4 I think) it seems to have best of both worlds (good speed &amp; comparable compression ratio).