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.4.7

211 pointsby varbhatover 4 years ago

11 comments

rwmjover 4 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;zstd&#x2F;issues&#x2F;395#issuecomment-535875379" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;zstd&#x2F;issues&#x2F;395#issuecomment-535...</a><p>If anyone from Facebook is reading, please look at making zstd seekable. There is already experimental support but it needs to be standardized. This could open up really interesting new use-cases [see my comment linked above], where currently we have to use much slower xz&#x2F;lzma instead.
评论 #25458580 未加载
评论 #25459781 未加载
UI_at_80x24over 4 years ago
I have been incredibly impressed with Zstandard, and if you are not currently using I suggest giving it a try.<p>I&#x27;m a sysadmin so this has worked it&#x27;s way into every corner of my servers, from backups, to log compression, and more. Most of my servers run FreeBSD, and with the merge of linux&#x2F;FreeBSD ZFS I am looking forward to the integration of ZSTD into ZFS so I can use that for on-the-fly Zpool compression.<p>I can safely say that ZSTD has saved me TB of space over LZ4 &amp; GZIP.
评论 #25456460 未加载
评论 #25456905 未加载
评论 #25459716 未加载
评论 #25456170 未加载
评论 #25464188 未加载
评论 #25455868 未加载
评论 #25459398 未加载
kieckerjanover 4 years ago
Zstandard is great indeed. Performance is excellent, but in my experience its killer feature is the user definable dictionary. My search engine software stores its documents in an archive to which I need random access. Lots of small documents, random access: bad for compression. Use of zstd with a tuned dictionary improved compression fivefold(!) when compared to the older zlib solution.
评论 #25457209 未加载
评论 #25457459 未加载
QuadrupleAover 4 years ago
ZStandard is great - I used it as a replacement for PNG for texture loading in the game engine for Weapon Hacker. Also for all game entity data - reduced asset loading time by about 4x, so things pretty much start instantly.
评论 #25459435 未加载
twicover 4 years ago
Zstandard uses finite state entropy (FSE) for entropy encoding (after finding repeats), which in turn us based on asymmetric numeral system (ANS) encoding.<p>The canonical paper on ANS is indecipherable to me (i honestly think it&#x27;s poorly written, it&#x27;s not just me, although it is partly me!), but this seems like a clearer explanation (although i still don&#x27;t entirely get it):<p><a href="https:&#x2F;&#x2F;bjlkeng.github.io&#x2F;posts&#x2F;lossless-compression-with-asymmetric-numeral-systems&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bjlkeng.github.io&#x2F;posts&#x2F;lossless-compression-with-as...</a>
terrellnover 4 years ago
One of the maintainers of zstd here, AMA
评论 #25459698 未加载
finnhover 4 years ago
For latency-sensitive operations - in particular, decompression - lz4 maintains an extreme lead in performance (at a cost of lower compression ratios). This has borne out in practice for me as well.
评论 #25455996 未加载
foolmeonceover 4 years ago
It would be good to see some charts[1] similar to the zfs zstd integration. At that time, I found it notable that LZ4 was still the most optimized point for anyone without an actual preference between speed and compression.<p>1 <a href="https:&#x2F;&#x2F;github.com&#x2F;openzfs&#x2F;zfs&#x2F;pull&#x2F;10278" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;openzfs&#x2F;zfs&#x2F;pull&#x2F;10278</a>
theandrewbaileyover 4 years ago
Is anyone serving zstd over HTTP to browsers (instead of gzip or brotli)? It seems like the speed would be ideal in this use case.
评论 #25458812 未加载
评论 #25457167 未加载
评论 #25457639 未加载
therealmarvover 4 years ago
Usage question: Does it use multicore by default?
评论 #25456533 未加载
评论 #25456424 未加载
kylebarronover 4 years ago
Has anyone tried to use zstd on the web with WebAssembly?
评论 #25458767 未加载