Hi, guys

I posted this on JMS/JBossMQ forum but it seems that posting to jboss-dev will make 
this issue more visible.

We are trying to run an MDB that listens to a Topic on a remote JMS provider which 
resides across a high latency link. The behavior we encountered was that with 
relatively high load (about 10 or so messages/sec) the delay for all messages to reach 
the MDB gets to be very, very large. (We are using the 'fastest' of the IL -- OIL)

I dug into the Source and realized that, perhaps, this is due to the fact that all 
methods that ServerIL and ClientIL interfaces expose end up being synchronized in the 
OIL implementation. Judging from the source, this is because in OIL you have to stuff 
everything down a single socket and since multiple threads have access to a JMS 
Connection and it has to be thread safe, synchronizing is a reasonable solution. On 
high latency links this is a killer, though. I am wondering how much work would it 
involve to write an extended OIL which can use a socket pool or something of that sort 
to multiplex communications better. 

What do you say?

Anatoly Akkerman. 

* * *

View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=13074

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to