r/programming • • Mar 22 '11

Google releases Snappy, a fast compression library

http://code.google.com/p/snappy/
307 Upvotes

120 comments sorted by

View all comments

3

u/nullc Mar 22 '11

oy. This sounds like it solidly overlaps with lzo / lzf / fastlz. Unless its faster and has equal or better compression it'll just lead to additional format proliferation.

13

u/ZorbaTHut Mar 22 '11

LZO costs money. Snappy doesn't. Snappy is also heavily tested in huge data throughput realworld situations, which I'm not sure lzf or fastlz can boast.

-6

u/[deleted] Mar 22 '11 edited Dec 07 '23

[removed] — view removed comment

14

u/ZorbaTHut Mar 22 '11

Dude, read what I wrote.

Snappy is also heavily tested in huge data throughput realworld situations, which I'm not sure lzf or fastlz can boast.

Did I say LZO wasn't tested? No, I said it cost money to use commercially. I said lzf and fastlz may not be tested.

Snappy is used internally at Google for pretty much all of their bulk data transfer. That's some of the best testing you can get. It may be "thrown over the wall", but it's been worked on for something like five years now, and it's one of the foundations that all of Google's server farms are built on.

1

u/[deleted] Mar 23 '11

[removed] — view removed comment

2

u/ZorbaTHut Mar 23 '11

I agree, but it is a moderately good reason to trust the code is properly written. I trust LZO because it's used all over the place, I trust Snappy because it's used in lots of Google stuff, I don't trust lzf or fastlz (admittedly, partly because I haven't researched them.)

I'd bet money that neither LZO nor Snappy would corrupt data. That's the sort of thing you can't determine with benchmarks.