Re: Comparing the performace of libwww and java servlet

Not sure if there were many details reported, but if this is doing
POST-s,
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
that
fails. These are rather conservative values but can be changed by using
these
functions. The second try value must be larger (or equal) to the first
try
value and the first try value must be larger than 20 ms."

Jeff


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