Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
27 января 2012 г. 2:44 пользователь sridhar basam написал: > Which socket API? > > http://www.php.net/manual/en/function.socket-set-option.php > > Is possible to do the appropriate setsockopt call to disable NAGLE. > > No you are wrong php thrift implementation doesn't use sock extension it uses

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread sridhar basam
Which socket API? http://www.php.net/manual/en/function.socket-set-option.php Is possible to do the appropriate setsockopt call to disable NAGLE. Sridhar 2012/1/26 ruslan usifov : > > > 27 января 2012 г. 1:19 пользователь aaron morton > написал: >> >> Outgoing TCP connections between nodes ha

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
27 января 2012 г. 1:19 пользователь aaron morton написал: > Outgoing TCP connections between nodes have TCP_NODELAY on, so do server > side THRIFT sockets. > > Thanks, for exhaustive answer > I would assume your client will be setting it as well. > > No php client doesn have TCP_NODELAY, becaus

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread Jeremiah Jordan
Should already be on for all of the server side stuff. All of the clients that I have used set it as well. -Jeremiah On 01/26/2012 07:17 AM, ruslan usifov wrote: Hello Is it possible set TCP_NODELAY on thrift socket in cassandra?

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread aaron morton
Outgoing TCP connections between nodes have TCP_NODELAY on, so do server side THRIFT sockets. I would assume your client will be setting it as well. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 27/01/2012, at 6:54 AM, sridhar basam w

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread sridhar basam
There is no global setting in linux to turn off nagle. Sridhar 2012/1/26 Jeffrey Kesselman : > You know... here aught to be a command line command to set it.  There is in > Solaris and Windows.  But Im having trouble finding it for Linux. > > > 2012/1/26 ruslan usifov >> >> Sorry but you misun

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread Jeffrey Kesselman
You know... here aught to be a command line command to set it. There is in Solaris and Windows. But Im having trouble finding it for Linux. 2012/1/26 ruslan usifov > Sorry but you misunderstand me, is ask is cassandra have any option to > control TCP_NODELAY behaviour, so we doesn't need patc

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
Sorry but you misunderstand me, is ask is cassandra have any option to control TCP_NODELAY behaviour, so we doesn't need patch cassandra or thrift code. I found this article https://wiki.cs.columbia.edu:8443/pages/viewpage.action?pageId=12585536, where упоминается mentioned coreTransport.TcpClien

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread ruslan usifov
2012/1/26 Jeffrey Kesselman > Most operating systems have a way to do this at the OS level. > > Could you please provide this way for linux?, for particular application? Maybe some sysctl? > > On Thu, Jan 26, 2012 at 8:17 AM, ruslan usifov wrote: > >> Hello >> >> Is it possible set TCP_NODELAY

Re: Disable Nagle algoritm in thrift i.e. TCP_NODELAY

2012-01-26 Thread Jeffrey Kesselman
Most operating systems have a way to do this at the OS level. On Thu, Jan 26, 2012 at 8:17 AM, ruslan usifov wrote: > Hello > > Is it possible set TCP_NODELAY on thrift socket in cassandra? > -- It's always darkest just before you are eaten by a grue.