If it is a plug-in solution, I might think it is a good idea. What Cassandra needs to do is to define the interface (may be based on the need for hardware acceleration). It is not a good idea to add hardware-dependent classes to the Cassandra code.
Abe Ratnofsky <a...@aber.io> 于2025年6月6日周五 06:08写道: > I’m also supportive of making this behavior pluggable, and starting with > an out-of-tree implementation. > > I do think we need to extend ICompressor to differentiate between > compression format and implementation to make this work nicely. A new > QatZstdCompressor should be read and write compatible with in-tree > ZstdCompressor, and a user should be able to enable QatZstdCompressor on a > single node to evaluate it, without thinking about file compatibility.