From: brabuhr@... Date: 2010-03-22T08:24:58+09:00 Subject: Re: Speeding up TCP On Sun, Mar 21, 2010 at 2:43 PM, Chuck Remes wrote: > On Mar 21, 2010, at 1:19 PM, 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. 130ms from the same client to the same server over the same network? > Show us your code. It's impossible to say that the performance issue is with network and not with other processing you are performing on the data from what little you've said. +1 :-)