Re:JeroMQ: Native Java implementation of ZeroMQ
by GilbertErik on Monday February 10, 2014 @03:07PM
(#7213396)
Is it just me, or do these performance numbers lead anyone else to believe that JeroMQ is more performant than ZeroMQ? I can probably believe that running on a modern JVM would buy you a little bit of an advantage, but these numbers seem like JeroMQ is roughly 20% faster. (I'm reading lower latency and higher 100K msgs/sec)
[ Parent
| on HN ]
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.
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.
Re:JeroMQ: Native Java implementation of ZeroMQ
by mey on Monday February 10, 2014 @05:46PM
(#7214361)
But for a Java developer looking to make use of ZeroMQ, that comparison wouldn't make sense as they already are taking on the burden of the JVM.