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

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

Creation of a unit test that demonstrates the issue would be of use, along with 
information on your Broker configuration and the Uri your client uses.
                
> 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

        

Reply via email to