Code Review 7068416: Lightweight HTTP Server should support TCP_NODELAY (original) (raw)
Michael McMahon michael.x.mcmahon at oracle.com
Wed Jul 20 08:51:39 PDT 2011
- Previous message: Code Review 7068416: Lightweight HTTP Server should support TCP_NODELAY
- Next message: hg: jdk8/tl/jdk: 7068617: Core libraries don't build with javac -Xlint:all -Werror
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Looks fine.
Thanks, Michael.
On 20/07/11 11:10, Chris Hegarty wrote:
Hi Michael,
It has been noticed that there is a perceived delay in response from the Lightweight HTTP Server implementation that ships with the JDK, compared to other production HTTP Servers. The cause for this delay has been identified as the Nagle algorithm buffering the response data until there is sufficient data ( not always the case especially for headers ), or a timeout occurs that triggers the data to be sent. CR 7068416 is requesting that a property be provided to allow applications to effectively set the TCPNODELAY socket option on sockets being used by the server, i.e. disable Nagle. This is similar to what other production HTTP servers provide. For example, see: http://download.oracle.com/docs/cd/E19798-01/821-1794/aeoko/index.html Webrev: http://cr.openjdk.java.net/~chegar/7068416/webrev.00/webrev/ Thanks, -Chris.
- Previous message: Code Review 7068416: Lightweight HTTP Server should support TCP_NODELAY
- Next message: hg: jdk8/tl/jdk: 7068617: Core libraries don't build with javac -Xlint:all -Werror
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]