Hi all, i am learning something about ZeroMQ that is the message system on which Storm is based. Now, i have understood that 0MQ is powerful, very fast and simple to use, but it seems to have some advantages:
1. no message persistence; 2. no security and encryption layer; 3. furthermore, since JZMQ is a JNI wrapper on ZMQ c lib, there is a additional throughput in marshal and un-marshal data from java 2 c and vice versa.
My questions are:
1. Which are the pros to use 0MQ? 2. Do the above cons have negligible importance? 3. finally, is it pluggable into Storm architecture a different Message System, such as AMQP or MQTT.
> Hi all,
> i am learning something about ZeroMQ that is the message system on which Storm is based.
> Now, i have understood that 0MQ is powerful, very fast and simple to use, but it seems to have some advantages:
> no message persistence;
> no security and encryption layer;
> furthermore, since JZMQ is a JNI wrapper on ZMQ c lib, there is a additional throughput in marshal and un-marshal data from java 2 c and vice versa.
> My questions are:
> Which are the pros to use 0MQ?
> Do the above cons have negligible importance?
> finally, is it pluggable into Storm architecture a different Message System, such as AMQP or MQTT.
> Cheers,
Ok, the persistence could be handled at app side, but security in communications should be a service provided by message system. Regarding performance, it should be interesting to compare 0MQ plus marshal and un marshal at jni side, with rabbitmq. However, I think to have pluggable message service will allow us to choice the right system for specific context. Bye, Matteo.
There are other tickets open to allow you to hook into the serializer in
order to add encryption.
On Sun, Nov 18, 2012 at 5:36 AM, Matteo Cusmai <cusmaimat...@gmail.com>wrote:
> Ok, the persistence could be handled at app side, but security in
> communications should be a service provided by message system.
> Regarding performance, it should be interesting to compare 0MQ plus
> marshal and un marshal at jni side, with rabbitmq.
> However, I think to have pluggable message service will allow us to choice
> the right system for specific context.
> Bye,
> Matteo.