2 Replies Latest reply on May 8, 2014 2:54 PM by chrisabaird

    Many queues versus one queue with many selectors

    chrisabaird

      I'm currently using HornetQ but have a question about performance/other considerations when it comes to having many queues versus a single queue with many selectors. Using HornetQ provides 2 benefits - first, sending messages between services is much easier second (and important here) I use the rate limiting. I have to rate limit how I process these messages because of separate contractual agreements. Every one of these agreements has become a separate queue in my environment. I realize I could get the same behavior by using a single queue and adding new consumers with different selectors.

       

      Does anyone have insight on this question? For reference, let's estimate I'm either setting up 100 queues or a single queue with 100 selectors.

       

      Thanks

      -Chris