You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Jim Gomes (JIRA)" <ji...@apache.org> on 2010/08/18 19:56:47 UTC

[jira] Created: (AMQNET-273) Change default send timeout to zero to optimize throughput

Change default send timeout to zero to optimize throughput
----------------------------------------------------------

                 Key: AMQNET-273
                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
             Project: ActiveMQ .Net
          Issue Type: Improvement
          Components: ActiveMQ
    Affects Versions: 1.3.0
            Reporter: Jim Gomes
            Assignee: Jim Gomes
             Fix For: 1.4.0


The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQNET-273) Change default send timeout to zero to optimize throughput

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated AMQNET-273:
--------------------------------

    Component/s: Stomp

Applied to NMS.Stomp also

> Change default send timeout to zero to optimize throughput
> ----------------------------------------------------------
>
>                 Key: AMQNET-273
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ, Stomp
>    Affects Versions: 1.3.0
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>
> The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQNET-273) Change default send timeout to zero to optimize throughput

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61262#action_61262 ] 

Jim Gomes commented on AMQNET-273:
----------------------------------

Yeah, that's part of the waiting loop of the test.  It's a benign (but unnecessary) message.  If it's annoying and spews out too much crap, I'll take it out.  I usually run from the GUI, so I don't get a screen full of that stuff.  Sorry about cluttering up your output.

> Change default send timeout to zero to optimize throughput
> ----------------------------------------------------------
>
>                 Key: AMQNET-273
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ
>    Affects Versions: 1.3.0
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>
> The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQNET-273) Change default send timeout to zero to optimize throughput

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61270#action_61270 ] 

Timothy Bish commented on AMQNET-273:
-------------------------------------

That's what I thought you were trying to do, was looking into the explicit option as well, saved me some time  :)

> Change default send timeout to zero to optimize throughput
> ----------------------------------------------------------
>
>                 Key: AMQNET-273
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ
>    Affects Versions: 1.3.0
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>
> The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQNET-273) Change default send timeout to zero to optimize throughput

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61269#action_61269 ] 

Jim Gomes commented on AMQNET-273:
----------------------------------

Yeah, I broke out the slow version of the test into an Explicit test case.  The slow test case is useful in triggering producer flow control and consumer flow control for queues.  It shows that a single slow consumer on a queue can really cause a bottle-neck.

> Change default send timeout to zero to optimize throughput
> ----------------------------------------------------------
>
>                 Key: AMQNET-273
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ
>    Affects Versions: 1.3.0
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>
> The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQNET-273) Change default send timeout to zero to optimize throughput

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61264#action_61264 ] 

Timothy Bish commented on AMQNET-273:
-------------------------------------

Ok, after waiting for several minutes the test actually seems to complete.  Its a rather lengthy test, might want to look to see if we can shorten that down a bit as it gives the appearance that something has hung.

> Change default send timeout to zero to optimize throughput
> ----------------------------------------------------------
>
>                 Key: AMQNET-273
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ
>    Affects Versions: 1.3.0
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>
> The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQNET-273) Change default send timeout to zero to optimize throughput

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61259#action_61259 ] 

Timothy Bish commented on AMQNET-273:
-------------------------------------

Seeing something odd after updating to incorperate your changes, not sure its related or not though.

{noformat}

     [exec] ***** Apache.NMS.Test.MessageSelectorTest.FilterIgnoredMessagesTest("queue://MessageSelectorQueue")
     [exec] Waiting (1) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...
     [exec] Waiting (0) to receive all non-ignored messages...

{noformat}


> Change default send timeout to zero to optimize throughput
> ----------------------------------------------------------
>
>                 Key: AMQNET-273
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ
>    Affects Versions: 1.3.0
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>
> The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQNET-273) Change default send timeout to zero to optimize throughput

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes resolved AMQNET-273.
------------------------------

    Resolution: Fixed

> Change default send timeout to zero to optimize throughput
> ----------------------------------------------------------
>
>                 Key: AMQNET-273
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-273
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: ActiveMQ
>    Affects Versions: 1.3.0
>            Reporter: Jim Gomes
>            Assignee: Jim Gomes
>             Fix For: 1.4.0
>
>
> The default send has a request timeout of 15 seconds.  With this timeout value, the sending of messages is not as fast as it can be as the low-level code adds additional overhead checks when sending to a topic if there is a send timeout value greater than zero.  By setting the default send timeout to zero, the producer throughput will run at its maximum speed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.