I think I tell the reason even without having seen the code. Since
beta-1 'expect: 100-continue' handshake is off per default, that can
make a huge difference in terms of performance with POST requests that
require authentication. 

Just do the following

httppost.setUseExpectHeader(true);

http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/methods/ExpectContinueMethod.html

Alternatively you could use preemptive authentication. 

I hope this helps

Cheers

Oleg


On Sat, 2003-07-26 at 05:35, Todd Wolff wrote:
> Hi,
>  
> After upgrading from 2.0-alpha3 to 2.0-beta2, instead of roughly 10
> requests per second, I am averaging only 3 requests per second.  I was
> hoping someone could take a look at the attached code and show me the
> 'error of my ways.'  My test is multithreaded, and all requests are
> sent to the same host.  I am setting MaxConnectionsPerHost equivalent
> to the number of sending threads.  The auth-method required by the
> server is BASIC.
>  
> Thanks for your help.
>  
>  
>  
> Todd
> 
> ______________________________________________________________________
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to