Re: Using zstd compression on Cassandra 3.x

2022-09-13 Thread onmstester onmstester via user
I patched this on 3.11.2 easily: 

1. build jar file from src and put in cassandra/lib directory

2. restart cassandra service

3. alter table using compression zstd and rebuild sstables



But it was in a time when 4.0 was not available yet and after that i upgraded 
to 4.0 immidiately.


Sent using https://www.zoho.com/mail/








 On Tue, 13 Sep 2022 06:38:08 +0430 Eunsu Kim  
wrote ---



Hi all, 
 
Since zstd compression is a very good compression algorithm, it is available in 
Cassandra 4.0. Because the overall performance and ratio are excellent 
 
There is open source available for Cassandra 3.x. 
https://github.com/MatejTymes/cassandra-zstd 
 
Do you have any experience applying this to production? 
 
I want to improve performance and disk usage by applying it to a running 
Cassandra cluster. 
 
Thanks.

Re: Using zstd compression on Cassandra 3.x

2022-09-12 Thread Eunsu Kim
Thank you for your response.

I'll consider upgrading to 4.x.


> 2022. 9. 13. 오후 2:41, Dinesh Joshi  작성:
> 
> Is there something preventing you from upgrading to 4.0? It is backward 
> compatible with 3.0 so clients don’t need to change.
> 
> If you don’t want to absolutely upgrade you can extract the implementation 
> from 4.0 and use it. I would advise against this path though as zstd 
> implementation is nuanced.
> 
> Dinesh
> 
>> On Sep 12, 2022, at 7:09 PM, Eunsu Kim  wrote:
>> 
>> Hi all,
>> 
>> Since zstd compression is a very good compression algorithm, it is available 
>> in Cassandra 4.0. Because the overall performance and ratio are excellent
>> 
>> There is open source available for Cassandra 3.x.
>> https://github.com/MatejTymes/cassandra-zstd
>> 
>> Do you have any experience applying this to production?
>> 
>> I want to improve performance and disk usage by applying it to a running 
>> Cassandra cluster.
>> 
>> Thanks.



Re: Using zstd compression on Cassandra 3.x

2022-09-12 Thread Dinesh Joshi
Is there something preventing you from upgrading to 4.0? It is backward 
compatible with 3.0 so clients don’t need to change.

If you don’t want to absolutely upgrade you can extract the implementation from 
4.0 and use it. I would advise against this path though as zstd implementation 
is nuanced.

Dinesh

> On Sep 12, 2022, at 7:09 PM, Eunsu Kim  wrote:
> 
> Hi all,
> 
> Since zstd compression is a very good compression algorithm, it is available 
> in Cassandra 4.0. Because the overall performance and ratio are excellent
> 
> There is open source available for Cassandra 3.x.
> https://github.com/MatejTymes/cassandra-zstd
> 
> Do you have any experience applying this to production?
> 
> I want to improve performance and disk usage by applying it to a running 
> Cassandra cluster.
> 
> Thanks.


Using zstd compression on Cassandra 3.x

2022-09-12 Thread Eunsu Kim
Hi all,

Since zstd compression is a very good compression algorithm, it is available in 
Cassandra 4.0. Because the overall performance and ratio are excellent

There is open source available for Cassandra 3.x.
https://github.com/MatejTymes/cassandra-zstd

Do you have any experience applying this to production?

I want to improve performance and disk usage by applying it to a running 
Cassandra cluster.

Thanks.