TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Broccoli: Syncing Faster by Syncing Less

229 点作者 daniel_rh将近 5 年前

16 条评论

daniel_rh将近 5 年前
Hi folks, I'm Daniel from Dropbox, and I am happy to answer any questions about this tech.
评论 #24058101 未加载
评论 #24058361 未加载
评论 #24053598 未加载
评论 #24053867 未加载
评论 #24054401 未加载
manigandham将近 5 年前
This is why I continue to use Dropbox for daily work and constantly changing files. The syncing is unmatched. It’s surprising how bad the others like OneDrive and google drive are in comparison.
评论 #24055203 未加载
评论 #24057518 未加载
评论 #24062714 未加载
AaronFriel将近 5 年前
I'm more of a security-focused engineer so I'm most interested in the "specially crafted low-privilege jail". What protocol gets data in and out, not shared memory I'm sure? Do the jail processes also have to implement an RPC server (protobuf/gRPC/HTTP?) or is there another mechanism for giving them work and receiving results?
评论 #24052470 未加载
rspoerri将近 5 年前
In my opinion broccoli does not go so well with bread (brötli = bread roll in swiss german), so some more matching name suggestions are: gipfeli (Croissant), weggli, pfünderli (500g bread), bürli, zöpfli<p>:-)
评论 #24053139 未加载
评论 #24053083 未加载
评论 #24056256 未加载
kevincox将近 5 年前
The header on the page keeps hiding and reappearing as I scroll making it incredibly difficult to read.
vmchale将近 5 年前
Surprised they didn&#x27;t look more at zstd.<p>IME it&#x27;s faster than brotli and often has a better compression ratio.
评论 #24054641 未加载
评论 #24054451 未加载
评论 #24054437 未加载
lifthrasiir将近 5 年前
&gt; Maintaining a static list of the most common incompressible types within Dropbox and doing constant time checks against it in order to decide if we want to compress blocks<p>There is also a format-agnostic and adaptable heuristic to stop compression if the initial part (say, first 1MB) of the file seems incompressible. I&#x27;m not sure whether this is widespread, but I&#x27;ve seen at least one software doing that and it worked well. This can be combined with other kinds of heuristics like entropy estimation.
no_wizard将近 5 年前
This is a really interesting write up of their use of Brotli! Makes me wonder if there might be a novel way I could leverage it beyond HTTP Responses.<p>I never realized the advantages of brotli over zlib could be so extensive, in particular, it appears they&#x27;re getting a huge speed boost (I think also in part that its written in Rust)<p>&gt;we were able to compress a file at 3x the rate of vanilla Google Brotli using multiple cores to compress the file and then concatenating each chunk.<p>Side note: I admit, at first I thought they were talking the Broccoli build system[0]<p>[0]<a href="https:&#x2F;&#x2F;github.com&#x2F;broccolijs&#x2F;broccoli" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;broccolijs&#x2F;broccoli</a>
jeffbee将近 5 年前
The tradeoff between client CPU time and upload speed is interesting. If they need to be able to output compressed text at 100mbps, that gives a budget of ~100ns&#x2F;byte, or pretty much what they would have been spending with zlib in the first place. But on my fiber connection I only have a budget of 10ns&#x2F;byte. Does that mean you&#x27;d use the equivalent of `brotli -q 1` for me? If so, doesn&#x27;t the march of progress continually erode the advantages of compression in this use case?
shadykiller将近 5 年前
Is it possible to use this as rsync replacement ?
评论 #24054713 未加载
lanius将近 5 年前
Is there a pun between Broccoli and Brotli I&#x27;m not aware of? There&#x27;s another Brotli compression tool called Broccoli (written in Go), just a coincidence?
评论 #24057433 未加载
tyingq将近 5 年前
Curious if there&#x27;s enough of any one type of file that a specialty compression for it would be worth the added complexity.
评论 #24054201 未加载
andrewshadura将近 5 年前
I wonder whether syncthing can use it.
Scaevolus将近 5 年前
None of the images are loading. :(
评论 #24052223 未加载
rmhorn将近 5 年前
Good supporting data
评论 #24053124 未加载
myrloc将近 5 年前
Middle out compression has shown considerable performance over the investigated options listed in the article. I wonder why it was not mentioned?<p>Just kidding :) great article. As others have said, supporting data was very informative.