activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SuoNayi <>
Subject Re:How to ensure LevelDB store uses a JNI driver
Date Wed, 06 Mar 2013 07:00:18 GMT
Also I saw the leveldb-0.2.jar in the extra directory under the lib directory, seems it's the
java LevelDB implement.

I removed the jar from the extra directory and deployed a new broker on other new CentOS server
and restarted the broker,
but I could still send messages to the new broker and log files created by LevelDB were present
in the specific directory.

So here I'm more confused about that the broker with removal the leveldb-0.2.jar is deployed
on the new CentOS server without 
LevelDB installation can still work.
The version is activemq-5.7.0.fuse-71-047.

At 2013-03-06 13:36:46,SuoNayi <> wrote:
>Hi ,
>Can we ensure LevelDB store uses a JNI driver or not via logging?
>I have deployed brokers on two CentOS servers, one server with LevelDB installation while
the other without installation.
>After changing the logging level to DEBUG, I still can not find logs to indicate that
a JNI driver or a pure java implement is used.
>On the same server my broker was deployed without LevelDB installation at first, I use
a simple load producer to send massive 
>messages to measure performance,after that I installed LevelDB and restarted the broker
and the load producer.
>What make me confused is that the performance measure is very close. So I suspect if the
JNI driver is used or not.
>If not used the java LevelDB will be used?Can I assume the JNI driver always performs
better than the java driver?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message