Hi there,

We're working on a project which is going to store a lot of JSON objects in
Cassandra. A large piece of this (90%) consists of an array of integers, of
which in a lot of cases there are a bunch of zeroes.

The average JSON is 4KB in size, and once GZIP (default compression) just
under 100 bytes.

My question is, should we compress client-side (literally converting JSON
string to compressed gzip bytes), let Cassandra do the work, or do both?

>From my point of view I think Cassandra would be better, as it could
compress beyond a single value, using large blocks within a row / SSTable.

Thank you in advance for your help.

Best regards,

Robin Verlangen
*Chief Data Architect*

W http://www.robinverlangen.nl
E ro...@us2.nl

<http://goo.gl/Lt7BC>
*What is CloudPelican? <http://goo.gl/HkB3D>*

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

Reply via email to