Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

maximum number of JMS connections on one server  RSS feed

 
Keristufer Blaze
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a limit to how many JMS connections a single machine can have? If there is a limit, what is it? I'm using JBoss as my application server. Also can you explain why there is a limit?

I don't see why all JMS connections wouldn't be able to send their data as packets to the same port and include some information on who sent the data and which packets belong together. In this case the limiting factors would be bandwidth and how fast the server can handle packets of data.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never heard of a limit, but maybe there is. If you're using JBoss, you probably want to check out the documenation and see that specifically. Are you having problems sending messages to a queue/topic, or receiving messages from your MDB?
 
Keristufer Blaze
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like JBossMQ creates a new Socket and thread for every JMS connection so I'm guessing there is a limit. SwiftMQ uses nio and says that it "Uses only a few threads to handle thousands of concurrent connections.
Provides scalability with no limits!"
http://www.swiftmq.com/products/kernel/netnio/index.html

Does anyone know which open source JMS server is the most scalable? Here's a list of them
http://www.manageability.org/blog/stuff/open-source-jms-java
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!