You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2012/07/31 21:19:35 UTC

[jira] [Created] (HTTPCLIENT-1219) TCP_NODELAY defaults to false

Daniel Kulp created HTTPCLIENT-1219:
---------------------------------------

             Summary: TCP_NODELAY defaults to false
                 Key: HTTPCLIENT-1219
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1219
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpConn
            Reporter: Daniel Kulp



The default for TCP_NODELAY in the IOReactorConfig is currently false.  This may be fine for GET requests where the entire request is sent as a single packet, but it KILLS performance for even simple POST/PUT requests as it waits for the ack for the headers before sending any of the body.   It's obviously easily worked around by setting it to true, but it likely should be the default to make sure that "out of the box" performance is fairly reasonable.


--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Moved] (HTTPCORE-306) TCP_NODELAY defaults to false

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski moved HTTPCLIENT-1219 to HTTPCORE-306:
--------------------------------------------------------

    Component/s:     (was: HttpConn)
                 HttpCore NIO
       Workflow: jira  (was: Default workflow, editable Closed status)
            Key: HTTPCORE-306  (was: HTTPCLIENT-1219)
        Project: HttpComponents HttpCore  (was: HttpComponents HttpClient)
    
> TCP_NODELAY defaults to false
> -----------------------------
>
>                 Key: HTTPCORE-306
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-306
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>            Reporter: Daniel Kulp
>
> The default for TCP_NODELAY in the IOReactorConfig is currently false.  This may be fine for GET requests where the entire request is sent as a single packet, but it KILLS performance for even simple POST/PUT requests as it waits for the ack for the headers before sending any of the body.   It's obviously easily worked around by setting it to true, but it likely should be the default to make sure that "out of the box" performance is fairly reasonable.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


[jira] [Resolved] (HTTPCORE-306) TCP_NODELAY defaults to false

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-306.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.2.2

Fix committed to SVN trunk and 4.2.x branch.

Oleg
                
> TCP_NODELAY defaults to false
> -----------------------------
>
>                 Key: HTTPCORE-306
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-306
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>            Reporter: Daniel Kulp
>             Fix For: 4.2.2
>
>
> The default for TCP_NODELAY in the IOReactorConfig is currently false.  This may be fine for GET requests where the entire request is sent as a single packet, but it KILLS performance for even simple POST/PUT requests as it waits for the ack for the headers before sending any of the body.   It's obviously easily worked around by setting it to true, but it likely should be the default to make sure that "out of the box" performance is fairly reasonable.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org