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

Anuj Khandelwal commented on AMQ-4701:
--------------------------------------

Hi Timothy,
 I have also tested NIO transport with large number of clients, please find 
below details for test performance results:

USING 20 producers

Clients            No. of threads before running producer   No. of threads 
after running producers(~20)

STOMP (PYTHON producer)               63                                 72
STOMP +NIO(PYTHON producer)           67                                 82
TCP(JAVA producer)                    58                                 86
NIO(JAVA producer)                    58                                 87

Transport Connector in broker configuration is :

 <amq:transportConnectors>
            <amq:transportConnector name="amqBrokerTcpTransport" 
                                    uri="tcp://0.0.0.0:61616" />

            <amq:transportConnector name="amqBrokerNioTransport" 
                                    uri="nio://0.0.0.0:61615" />

            <amq:transportConnector name="amqBrokerStompTransport" 
                                    uri="stomp://0.0.0.0:61613" />

            <amq:transportConnector name="amqBrokerStompNioTransport" 
                                    uri="stomp+nio://0.0.0.0:61614" />

        </amq:transportConnectors>


Thanks,
Anuj
                
> NIO transport performance for ActiveMQ
> --------------------------------------
>
>                 Key: AMQ-4701
>                 URL: https://issues.apache.org/jira/browse/AMQ-4701
>             Project: ActiveMQ
>          Issue Type: Test
>          Components: Performance Test, Transport
>    Affects Versions: 5.8.0
>            Reporter: Anuj Khandelwal
>
> Hi,
> I am using 5.8.0 version of ActiveMQ. I am trying to use NIO to improve  
> performance and scalability of my ActiveMQ broker but it is not working well. 
> I was expecting that it should reduce number of threads but I have not 
> observed any changes in number of threads. It is even reducing the 
> throughput. 
> I have made changes in broker's configuration file as specified 
> http://activemq.apache.org/configuring-transports.html
> Can somebody help me here.
> Thanks,
> Anuj   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to