cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël Figuière (JIRA) <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8765) Switch to a pure Java implementation of Snappy to reduce compatibility issues
Date Mon, 09 Feb 2015 16:01:34 GMT
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)

Mime
View raw message