Compress blobs before saving them; uncompress on read#32
Compress blobs before saving them; uncompress on read#32benaadams wants to merge 2 commits intoFoundatioFx:mainfrom
Conversation
|
Checks ran too fast; is it not picking up the |
|
I've been thinking about this and I'm not sure if it's a good idea. If I store blobs in azure storage uncompressed, then I can use any storage client to go look at those files and download them, etc. If I am compressing them, I lose that ability. Also, it just seems like compression should be the choice of the caller and that we shouldn't force compression on every blob. That being said, I don't know how this impacts performance. Could we do the same thing you are doing with renting buffers from the caller side? Or maybe we could make this an option where you could turn on compression and it would do this for every blob like you are doing in this PR. Thoughts? |
Addresses exceptionless/Exceptionless#353