W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2002

Re: Response times too long...

From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 27 Aug 2002 11:16:28 +0200 (MET DST)
To: Tanmay Patwardhan <tpthesis@hotmail.com>
cc: www-lib@w3.org
Message-ID: <Pine.GSO.4.44.0208271112310.19969-100000@pm1.contactor.se>

On Mon, 26 Aug 2002, Tanmay Patwardhan wrote:

> My client applications access a web service. I found that for similar
> server processsing, the response time for:
>
> 1. Java client with java http classes was: 210 milliseconds
> 2. Curl command line client: 400 milliseconds
> 3. libwww C client was: 600+ milliseconds.

Allow me to burst in here with some questions on this!

What kind of operation(s) is this? Why does the curl command line take twice
the time your java stuff use?

Did you try using libcurl to do avoid the command line overhead?

Could the libwww delays be due to an Expect: 100 or something?

(Yes, I'm the primary author of curl and libcurl.)

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Tuesday, 27 August 2002 05:17:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:42 GMT