Personnaly I've been overwriting the HttpMultiClient (copying it and using
mine) and using my own HttpConnectionManager on which I simply increased the
total number of allowed connections on a site this way :

private HttpConnectionManager mgr = new HttpConnectionManager();
mgr.setMaxConnectionsPerHost(100);

This way I allow 100 connections to the host, and performances are better.

But I think that in HttpMultiClient their should be getter on the
connectionmanager that is private :-(

Well now that we are two users interested, maybe they will modify it ?
Someone can please tell us from commons-dev ?

Thanx,
Aur�lien Pernoud

> -----Message d'origine-----
> De : Juho-Pekka Virolainen [mailto:[EMAIL PROTECTED]]
> Envoy� : mercredi 25 septembre 2002 21:24
> � : [EMAIL PROTECTED]
> Objet : [HttpClient] Bad performance with multiple request to
> same host
> ?
>
>
> Hi,
>
> While searching for a solution for a httpclient performance problem I
> stumbled
> into your article about your experience of jakarta-commons
> httpclient. We
> also
> have noticed that performance is terribly bad; apparently
> because the method
> reading HTTP reply header lines reads them char by char using
> non-buffered
> io.
>
> I'm really not looking forward to start patching httpclient
> if there is any
> other
> viable solution available. Did you you find any resolution to
> this problem?
>
> best regards,
>       Juho-Pekka Virolainen
>       CTO
>       Mobicus Ltd.
>


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

Reply via email to