activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3538) request-response performance is poor when the client and broker lie in different machine
Date Thu, 13 Oct 2011 13:40:12 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126577#comment-13126577
] 

Timothy Bish commented on AMQ-3538:
-----------------------------------

If you can try to turn this into a Junit test case that can be included in the porject tests
it would be helpful, also be sure to attach the file instead of pasting into the issue and
tick the grant license to apache otherwise we can't include the source.
                
> request-response performance is poor when the client and broker lie in different machine
> ----------------------------------------------------------------------------------------
>
>                 Key: AMQ-3538
>                 URL: https://issues.apache.org/jira/browse/AMQ-3538
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.4.2, 5.5.0
>         Environment: JDK 1.6, windows 2008 server.
>            Reporter: rikky
>
> for example:		
> Message msg = session.createTextMessage("gogogo");		
> 		try
> 		{
> 			long s = System.currentTimeMillis();
> 			for (int i = 0; i < 100; i++)
> 			{
> 				Message resp = request.request(msg);
> 			}
> 			long e = System.currentTimeMillis();
> 			System.out.println( e - s);
> 		}
> 		finally
> 		{
> 			session.close();
> 		}
> execute the above codes, the performance is very poor, can only handle 2-3messages/sec.
> but if i increase the message size to about 20k, then the performance increase incredibly,
can handle 50 messages/sec!
> maybe the broker use some strategy to block the outgoing message,if that is true, any
configuration to change that strategy?
> Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message