Re: Nagle's Algorithm

2013-09-29 Thread Shawn Heisey
On 9/29/2013 7:22 PM, William Bell wrote: > How do I set TCP_NODELAY on the http sockets for Jetty in SOLR 4? The client usually makes that decision, not the server. This parameter is turned on by default for recent HttpClient versions, the library used by SolrJ. Even the JETTY issue uncovered b

Re: Nagle's Algorithm

2013-09-29 Thread Michael Sokolov
I dunno, but this makes it look as if this may already be taken care of: http://jira.codehaus.org/browse/JETTY-1196 On 9/29/2013 9:22 PM, William Bell wrote: How do I set TCP_NODELAY on the http sockets for Jetty in SOLR 4? Is there an option in jetty.xml ? /* Create new stream socket */ soc

Re: Nagle's Algorithm

2013-09-29 Thread Dan Davis
I don't keep up with this list well enough to know whether anyone else answered. I don't know how to do it in jetty.xml, but you can certainly tweak the code. java.net.Socket has a method setTcpNoDelay() that corresponds with the standard Unix system calls. Long-time past, my suggestion of this