activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: queue vs topic
Date Wed, 24 Apr 2013 22:51:52 GMT
of course it will depend on whether the destination will need to persist
the message...
but in terms of performance only, you'll probably find topics to be faster
especially as you add consumers to queues.

but the question you should be asking isn't which one is faster, but rather
what sort of messaging are you doing? In other words, are you intending
messages to have multiple consumers and each consumer competes for the
stream of messages (each consumer will get only one message from the
stream), or are you doing more of a "broadcast" to multiple independent
consumers that will not know about each other and each need the same stream
of messages (each consumer will get every message in the stream).




On Wed, Apr 24, 2013 at 3:39 PM, webber <tokomakoma123@gmail.com> wrote:

> Is there any deference between queue and topic from the point of view of
> performance and reliability ?
> I would like to use topic if there is small difference between them. Please
> give me tips for use queue and topic properly.
>
> Regards
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/queue-vs-topic-tp4666180.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message