- how big is each fragment? Very small fragments of *anything* generally get bigger when compressed
- what is the data? If it contains a lot of text data you might see benefits; however, many typical fragments will get bigger when compressed - it depends entirely on the content
In one of our uses, I cheat: I the size above some nominal lower-bound, I *try* GZipStream; the moment this exceeds the original size I kill it, and send the uncompressed original. I it turns out to be smaller, I store that.
This works well for us as the tier that is processing this data has plenty of spare CPU to speculatively try both options.
Marc
> --
> You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
> To post to this group, send email to prot...@googlegroups.com.
> To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
>