cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1908) Implement the CLibrary using JNI module to avoid the LGPL dependency on JNA
Date Wed, 29 Dec 2010 15:23:48 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975799#action_12975799
] 

Eric Evans commented on CASSANDRA-1908:
---------------------------------------

bq. The JNA solution has all the same architecture dependent code for N platform problems,
what's worse is that it's using a FFI and your hoping that everything maps out right.

Sure, but someone else is doing that work for us. And as Jonathan mentioned, JNA is package
for all architectures on the most common platforms.

bq. Additionally, because of the FFI, the JNI interface is going to be orders of magnitude
more efficent. See: https://jna.dev.java.net/#performance

Performance is always a good argument to make.  Do you have before/after numbers to show that
it will make a substantial difference for us?

> Implement the CLibrary using JNI module to avoid the LGPL dependency on JNA
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1908
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1908
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Hiram Chirino
>             Fix For: 0.7.1
>
>         Attachments: cassandra-jni.zip
>
>
> Cassandra can't ship JNA out of the box since it's LGPL licensed, so many of the performance
optimizing features in the CLibrary class are not available in a simple install.  It should
be trivial to implement a real JNI library for the CLibrary class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message