Hi,

I've read that Couchbase compresses data in the Couchstore module using 
Snappy as default, just before writing to disk, and decompresses when 
reading from it. Couchbase has a general limit of 20MB per document, and I 
believe this is before any compression takes place (correct?). My question 
is, what would be the best practice of saving HTML documents in Couchbase. 
The documents can be anything from a few tens of KB to nearly one MB 
(uncompressed).

If I solely rely on Couchbase's compression, all documents residing in 
memory and different queues will be uncompressed and take up a lot of 
space, thereby degrading the performance of the cluster. On the other hand 
if we compress it using GZIP or 7Z, applying Snappy may cause the documents 
to be larger than the gzipped version.

Let me know what you think, and let me know if I got something wrong here.

Lasse Schou

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to