Before we go reinventing the wheel here, you might want to try the RMI IL. It's a littler slower on the serialization, but I think RMI will do some connection pooling for you.
Regards, Hiram >From: Anatoly Akkerman <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [JBoss-dev] JMS with JBossMQ over high latency links >Date: Tue, 16 Apr 2002 16:15:55 -0500 > >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 _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
