On Thu, Sep 03, 2009 at 05:54:33AM -0700, HockeyDave wrote:
> 
> The NIO httpcomponents client tutorial (???Basic non-blocking HTTP client) 
> uses
> 2 classes which are missing from 4.0.1 release.  so.... downloaded
> 4.1-SNAPSHOT.  Classes are still missing.  
> Downloaded the two files (found them w/ a google search).  Added them to my
> project.
> 
> Now ImmutableHttpProcessor is okay, but SyncBasicHttpParams is not good
> because it extends the class BasicHttpParams which in both the 4.0.1 release
> and the 4.1-SNAPSHOT is a final class.
> 

I changed the examples page to point at the 4.0.x branch

http://hc.apache.org/httpcomponents-core/examples.html

Ideally one should be using examples shipped with the official release package.


> can we get this remedied as I would like to try out the NIO implementation
> to see if that helps the performance of my use case?
> 

Please note that generally NIO tends to be _significantly_ slower in terms of
raw data throughput compared to the classic I/O unless the number of concurrent
connections exceeds 2500 or even 5000. So, set your expectations right.

Oleg



> Thanks.
> -- 
> View this message in context: 
> http://www.nabble.com/SynchBasicHttpParams-and-ImmutableHttpProcessor-missing-tp25275401p25275401.html
> Sent from the HttpClient-User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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