News for hackers. Stuff that matters.
Re:ActiveMQ: Not ready for prime time by andrewcooke on Thursday May 26, 2011 @01:04PM (#2588488)
activemq should offer higher level guarantees about reliability. zeromq is simpler. you can argue that activemq has things you will probably end up implementing yourself on top of zeromq, or that zeromq has less to get wrong...

another way of saying the same thing, which illustrates the cultural differences:

- activemq is intended to be used in "the enterprise". it tries to implements a logical ideal, which is a reliable infrastructure that services can use without being coupled to each other - without worrying about whether messages were received, or exactly who they go to. to reduce complexity it uses a central broker (so you send messages to a central "hub").

- zeromq is intended (imho) for programmers that want to wire things together. it's less concerned with abstractions and more with providing something simple clear, simple and flexible that can be understood and used well. to reduce latency it uses direct connections between peers.

from that viewpoint, you can see that the two are both orthogonal and yet similar... (disclaimer: i haven't used either, but i used work on an ESB so have a vague grasp of what's going on. please someone correct me if this is wrong - i might as well learn as i lose karma ;)

ps rabbitmq is somewhere in the middle and was (i think) originally more performance-motivated (i believe it's used in finance for example - when speed might be critical).

Re:ActiveMQ: Not ready for prime time by rabbitmq on Friday May 27, 2011 @04:37AM (#2590829)
If you want to know what motivated the creation of RabbitMQ please read chapter 1 of Jason and Alvaro's book, "RabbitMQ in Action" - http://www.manning.com/videla/Videla_MEAPCH01.pdf

RabbitMQ's main motivation has been to make it easier to join systems together, scale your applications and manage complex environments. That is what messaging is for. Back in 2006, we felt there was a need for a good, stable and scalable open source licensed product that could compete with the incumbents.

Notice that I did not mention performance. RabbitMQ has good performance and it is used quite a lot in finance, but the majority of users are what you might categorise as "anyone using MySQL or Postgres".

Re activemq vs zeromq, I recommend reading "broker vs brokerless" on our blog.

Hope this helps.

Re:ActiveMQ: Not ready for prime time by andrewcooke on Friday May 27, 2011 @07:58AM (#2591155)
Re:ActiveMQ: Not ready for prime time by veyron on Thursday May 26, 2011 @01:34PM (#2588640)
"i might as well learn" <-- that's why I read HN -- learn something new every day :)
Re:ActiveMQ: Not ready for prime time by aaronblohowiak on Thursday May 26, 2011 @07:30PM (#2589833)
"it uses direct connections between peers" -- this is kind of true.. the guide suggests that ultimately you will want a broker (what it calls "devices") to intermediate producer-consumer interactions.