Zulfi Umrani wrote:
I will appreciate if anyone answers my questions below.

-Does anyone has perfromance comparison between HTTPClient and JDK
HttpURLConnection?

I remember there was a comment about that on the list some months ago. The guy said that HttpClient was slightly faster than HttpUrlConnection for what he was doing. But I don't remember all of it. Maybe check the mail archive.


-Are there any performance techniques that can be used to improve the
performance of HTTPClient?

Not really. There are sime Timeouts you can set, and Nagling is disabled by default. So there is little you can do. HttpClient's performance is mainly affected by:
- The performance of the underlying streams (network, request input)
- The performance of the SSL implementation (if SSL is used)
- Authentication cycles
- Server roundtrips
- Connection stability


You see, the performance parameters are all *outside* HttpClient. So if you want to tune, use a profiling tool and track down the source of the performance problem.

-When will the final version of HTTPClient be out?

We are in beta for 2.0 now. So 2.0 is "ante portas". No timeline available though. As usual: it's ready when it's ready. But expect something by end of summer.


HTH

Odi


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



Reply via email to