Message System without persistence and security?

79 views
Skip to first unread message

Matteo Cusmai

unread,
Nov 18, 2012, 3:00:35 AM11/18/12
to storm...@googlegroups.com
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.

Cheers,

Matteo.

Yu Dongmin

unread,
Nov 18, 2012, 6:53:56 AM11/18/12
to storm...@googlegroups.com
My understanding on the storm is the messages between the spouts and bolts doesn't need persistence.  

Because storm guarantees message processing by itself and  guaranteeing message processing is nothing to do with the persistence. 

So the persistence will not be an issue of the messaging in the storm.



Also a broker having system can cause a problem at the reliability and the scalability.



I don't have any experience on MQTT but AMQP must be slow for the real time processing in the storm. 

I think any alternative messaging will be great (or pluggable) if it has no broker and is faster than 0MQ.



But the security might have to be considered at anyhow.

Thanks
Min

Matteo Cusmai

unread,
Nov 18, 2012, 8:36:46 AM11/18/12
to storm...@googlegroups.com
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.

Nathan Marz

unread,
Nov 19, 2012, 12:36:17 AM11/19/12
to storm...@googlegroups.com
We're planning to replace 0MQ with a pure Java solution: https://github.com/nathanmarz/storm/issues/372

There are other tickets open to allow you to hook into the serializer in order to add encryption.
--
Twitter: @nathanmarz
http://nathanmarz.com

Reply all
Reply to author
Forward
0 new messages