Re:JeroMQ: Native Java implementation of ZeroMQ
by marktangotango on Monday February 10, 2014 @03:15PM
(#7213463)
JNI is not considered to be a performant solution. Copying bytes across the jvm/c boundary is expensive. Depending on how the bindings are implemented (direct vs undirect ByteBuffers for example) you could easily see drastic differences in performance at high through put.
[ Parent
| on HN ]
Re:JeroMQ: Native Java implementation of ZeroMQ
by benmmurphy on Monday February 10, 2014 @04:25PM
(#7213959)
The interesting thing was the comparison looked like pure c++ vs java. GC can give you better throughput than a naive memory allocator if you are willing to deal with the unpredictable pauses.