cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (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:31:48 GMT

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

Jonathan Ellis commented on CASSANDRA-1908:
-------------------------------------------

The page Hiram linked says "JNA supports a direct mapping method which can improve performance
substantially, approaching that of custom JNI."  This is the approach we are using (Native.register,
instead of the slower Native.loadLibrary).

> 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