Snappy compression works fine on any JVM in general, but there are known problems independent from the JVM when mixing native JNI-based snappy with pure Java snappy. In addition, some older versions of pure Java snappy are not thread safe. Both implementations are released in the same snappy.jar which includes embedded .so native libraries. At least in older snappy versions, there is no information directly available as log or output to check if the native lib is used or if it fell back to pure java. Refer to https://github.com/xerial/snappy-java/issues/295 and https://github.com/xerial/snappy-java/issues/326 and https://github.com/xerial/snappy-java/issues/270 to learn more about those issues.
Was this article helpful?
0 out of 0 found this helpful
Please sign in to leave a comment.