Interesting. We are generating bindings for CZMQ using zproject, don't have a JNI generator yet. ... :)
You could use inproc yes, except you still need to call the libzmq API to send/receive messages. It's probably better to look at finding the bottleneck. On Thu, Sep 3, 2015 at 4:20 PM, Bachmair Florian - flexSolution GmbH <[email protected]> wrote: > 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? > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
