Hi folks, I'm Daniel from Dropbox, and I am happy to answer any questions about this tech.
Broccoli: Syncing Faster by Syncing Less
21–30 of 58 posts
Re: Broccoli: Syncing Faster by Syncing Less
#22IME it's faster than brotli and often has a better compression ratio.
Re: Broccoli: Syncing Faster by Syncing Less
#23Surprised they didn't look more at zstd. IME it's faster than brotli and often has a better compression ratio.
Re: Broccoli: Syncing Faster by Syncing Less
#24Surprised they didn't look more at zstd. IME it's faster than brotli and often has a better compression ratio.
> Pre-coding: Since most of the data residing in our persistent store, Magic Pocket, has already been Brotli compressed using Broccoli, we can avoid recompression on the download path of the block download protocol. These pre-coded Brotli files have a latency advantage, since they can be delivered directly to clients, and a size advantage, since Magic Pocket contains Brotli codings optimized with a higher compression quality level.
Re: Broccoli: Syncing Faster by Syncing Less
#25Surprised they didn't look more at zstd. IME it's faster than brotli and often has a better compression ratio.
It looks like they did, but having an implementation in a memory-safe language was one of their requirements. Learning that was for me the most fascinating part of the article.
Re: Broccoli: Syncing Faster by Syncing Less
#26Re: Broccoli: Syncing Faster by Syncing Less
#27Surprised they didn't look more at zstd. IME it's faster than brotli and often has a better compression ratio.
But the main reason we settled on Brotli was the second order context modeling, which makes a substantial difference in the final size of files stored on Dropbox (several percent on average as I recall, with some files getting much, much smaller). And for the storage of files, especially cold files, every percent improvement imparts a cost savings.
Also, widespread in-browser support of Brotli makes it possible for us to serve the dropbox files directly to browsers in the future (especially since they are concatenatable). Zstd browser support isn't at the same level today.
Re: Broccoli: Syncing Faster by Syncing Less
#28Is it possible to use this as rsync replacement ?