W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

Re: Comparing the performace of libwww and java servlet

From: Jeff Adams <jeffa@coursewave.com>
Date: Wed, 31 Jan 2001 14:00:37 -0600
Message-ID: <3A786EE5.57563E2A@coursewave.com>
To: www-lib@w3.org

Not sure if there were many details reported, but if this is doing
perhaps you are using the default and very long delays with body writes?

I have been using:
HTTP_setBodyWriteDelay (25, 30);

And libwww is extremely response. 

Maybe the delays you are seeing on the order
of 2 seconds is because of the default values, ie from HTTP.h:

"The default wait periods are 2000ms for the first wait and 3000ms if
fails. These are rather conservative values but can be changed by using
functions. The second try value must be larger (or equal) to the first
value and the first try value must be larger than 20 ms."


Worik Macky Turei Stanton wrote:
> Does anybody have an answer for this?  I would really like to know why
> this is and weather it indicates some fundamental problem in libwww.
> Anybody?
> Ailleen Lien <alien@clientsoft.com> writes:
> > Hi,
> >     I am comparing the performance of libwww and jave servlet.  I have
> > modified the showxml.c to send  a request to my server and get
> > some message back.  I am surprised that libwww takes about 2 seconds to send
> > data out  to my server while java servlet only takes 0.5 second.  Did anyone
> > do the comparison before?
> >
> >
> > Ailleen Lien
> >
> >
> >
> --
>                      Worik Macky Turei Stanton
>                           worik@noggon.co.nz
>                               Aotearoa
>      This line would have seven words if only it had six words less.
Received on Wednesday, 31 January 2001 14:58:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC