3 ms·
We did a similar implementation of Zstd on ScyllaDB some years back. You can see how it compared to LZ4, Snappy and Deflate. The interesting thing in comparing
by PeterCorless 4y ago
We did a similar implementation of Zstd on ScyllaDB some years back. You can see how it compared to LZ4, Snappy and Deflate.
The interesting thing in comparing compression algorithms is — "what are you optimizing for?" Compression speed? Decompression speed? Storage savings? There are Tradeoffs. Getting the most storage savings might be suboptimal with a database if it adds too much latency or hampers throughput.
Nicely done, Percona!
https://www.scylladb.com/2019/10/07/compression-in-scylla-part-two/ https://www.scylladb.com/2019/10/07/compression-in-scylla-pa...
- jeffbee 4y agoYou may get a quite different answer in 2022 as there has been significant work on the raw performance of the zstd code. On x86 with BMI2 it is noticeably faster.
- PeterCorless 4y agoGood point!