From: hemant on
Try disabling naggle algorithm.



On Wed, Mar 24, 2010 at 9:52 PM, Roger Pack <rogerpack2005(a)gmail.com> wrote:
> Sean Warburton wrote:
>> I have a script that opens a TCP socket and then sends an XML request
>> using SSL over the socket, it then receives an answer back from the
>> server. The whole send and receive is taking between 160 and 175
>> milliseconds total (not including opening the socket) but I know others
>> using PHP and Perl have this down to around 130 milliseconds and I
>> wonder if Ruby has any tricks up its sleeve that would speed thing up a
>> little.
>
using eventmachine might help.
> -rp
> --
> Posted via http://www.ruby-forum.com/.
>
>
>


--
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org