We have a C++ DLL that we need to talk to using JNI, and I'm curious about the expected performance impact.
Throughput is not a big deal, we will have less than 100 calls/second into and out of the DLL, and the processing time in the DLL should be sub millisecond. Each call in and out will likely have 20-200 bytes of payload.
However, latency is very important in this application. Does anyone have any benchmarks for JNI performance? Specifically as to what latency impact we might expect.