> I do have the same opinion as you, the code would affect many of the parts
> regarding the compression (specially couch_stream). For doc compression, I
> imagine it would touch more places, and also present some difficulties to
> assure compatibility with the previous DB file formats.

Just a note that docs are already stored compressed on disk.
Everything written through couch_file.erl gets a gzip compression
level 6 applied if memory serves. Which suddenly makes me wonder if an
optimization for attachment compression might benefit from turning
that off during stream writes since the stream is already compressed.

Just a couple random thoughts.

Paul

Reply via email to