File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Message selector versus Temporary Queues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Message selector versus Temporary Queues" Watch "Message selector versus Temporary Queues" New topic

Message selector versus Temporary Queues

Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
My system calls an external JMS system synchronously. Which would perform better in this scenario, expecially when the load is quite high, say nearly 6000 users synchronously listening to the extenal Queue(one static queue with message selector/x nos of temporary queue). Anyone have done this in their project.

when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32823

While having six thousand queues seems like a bad idea, using the same queue for so many purposes doesn't sound better. Maybe just I've never used queues on the scale though and that's why it feels off.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jorge Coll

Joined: Sep 02, 2011
Posts: 8

I think that temporary queues on a well config cluster could be the best solution. As I understand so many concurrent threads working with message selectors could have the wrost performance.
I agree. Here's the link:
subject: Message selector versus Temporary Queues
jQuery in Action, 3rd edition