[zeromq-dev] JNI - slow java method invocation

Bachmair Florian - flexSolution GmbH florian.bachmair at flexsolution.eu
Thu Sep 3 16:20:02 CEST 2015


Hi!

I have written my own JNI-Wrapper to use czmq in java.

I have a sender which sends 10 messages every 5ms, 1000 times.
If I view the commandline outputs of both applications I can see that, 
when the sender has finished, the receiver still needs time to pass the 
messages to java.

I don't know how the JVM handles that, but would it be possible to use 
INPROC between C and JAVA? would that be faster than JNI calls?
Or any other suggestions?




More information about the zeromq-dev mailing list