You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michaël Figuière (JIRA)" <ji...@apache.org> on 2015/02/09 17:01:34 UTC
[jira] [Created] (CASSANDRA-8765) Switch to a pure Java
implementation of Snappy to reduce compatibility issues
Michaël Figuière created CASSANDRA-8765:
-------------------------------------------
Summary: Switch to a pure Java implementation of Snappy to reduce compatibility issues
Key: CASSANDRA-8765
URL: https://issues.apache.org/jira/browse/CASSANDRA-8765
Project: Cassandra
Issue Type: Improvement
Reporter: Michaël Figuière
Priority: Minor
Since it has been introduced as a dependency, the Xerial's Snappy library, which relies on a few native libraries for performance purpose, has caused several compatibility issue or unexpected behaviors.
Dain's implementation (https://github.com/dain/snappy) is written in pure Java using some {{Unsafe}} memory access for secure its performance. According to the benchmark published by its author (https://github.com/dain/snappy#block-compress), it ends up being often faster than the JNI implementation, but without the compatibility issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)