[ http://jira.jboss.com/jira/browse/JBAS-1585?page=comments#action_12316136 ] Adrian Brock commented on JBAS-1585: ------------------------------------
Flow control needs a lot more thought than my off the cuff trivial test. e.g. The requests should not just be throttled they should be prioritized so a throttled request can give up its threads to others that can do work. For example a sender that wants to add a message gives up its thread to allow a receiver to clear some memory. This requires co-operation from the invoker framework. i.e. I am about to do perform a send, can I proceed? The link about message serialization is there because ideally during the same process, the sender can write the message body directly into persistent store using buffers, rather than hogging memory with a full read and deserialiation. > Enhance Queue throughput > ------------------------ > > Key: JBAS-1585 > URL: http://jira.jboss.com/jira/browse/JBAS-1585 > Project: JBoss Application Server > Type: Feature Request > Components: JMS service > Reporter: Ivelin Ivanov > > > > -----Original Message----- > > From: Adrian Brock > > Sent: Monday, March 14, 2005 2:35 PM > > To: Ivelin Ivanov > > Cc: Stan Silvert; Neal Byrd; The Core; Rebecca Goldstein > > Subject: RE: JMS Reference > > > ... > > I know you can get about x8 improvement in JBossMQ just by adding > > some simple flow control. > > > > Instead of doing the "one in, one out" policy on the message cache > > when memory is tight (i.e. move some old messages to disk to make > > room for the new messages) > > I did a simple test instead with > > Thread.sleep(1000); > > to slow down the senders and let the receivers clear some memory. > > > > The message throughput went from 1 million messages/hour to 8 million. > > I did this test around JBoss-3.0.7 time when the performance was > > very poor. > > > > I discarded the idea as too simplistic since the mechanism > > requires blocking server threads. But it does show JBossMQ > > could easily be improved if we had the motivation/resources > > to work on the performance without degrading its reliability. > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
