Netty vs Apache HttpClient

jfarcand jfarcand at ning.com
Tue May 18 15:18:25 EDT 2010


Salut,

On 10-05-17 2:30 PM, dairmet wrote:
>
> Hello,
> I am wondering if Netty can provide performance improvements over Apache
> HttpClient.  I have a server to server REST call that may become a
> bottleneck.  Right now I use Apache HttpClient to do a POST over SSL to the
> REST service.  Would using Netty speed things up?  I played around with the
> netty http example and was able to get things working up to the point I
> needed ssl at which point I got stuck...
> Thanks in advance!

Take a look at:

    http://github.com/ning/async-http-client

It's an async client based on Netty. Now it's always difficult to 
compare with Apache Http Client as AHC is a blocking client, so you may 
get better throuput in some case at cost of scalability. Anyway, you 
should give it a try and let us know (yes, it support SSL).

A+

-- Jeanfrancois


More information about the netty-users mailing list