AsyncHttpClient is slow
I'm using sonatype's [async-http-client][1] to make many-many http requests. The problem is: **async-http-client** is very slow, even php-curl/python-curl/tornado/gevent.

I configure my **AsyncHttpClient** like this:


        AsyncHttpClientConfig.Builder configBuilder = new AsyncHttpClientConfig.Builder();
        configBuilder.setFollowRedirects(false);
        configBuilder.setAllowPoolingConnection(true);
        configBuilder.setRequestTimeoutInMs(10 * 1000);
        configBuilder.setExecutorService(Executors.newFixedThreadPool(100));
        configBuilder.setConnectionTimeoutInMs(5 * 1000);
        configBuilder.setMaximumConnectionsTotal(100);
        NettyAsyncHttpProviderConfig config = new NettyAsyncHttpProviderConfig();
        config.addProperty(NettyAsyncHttpProviderConfig.EXECUTE_ASYNC_CONNECT, "true");
        config.addProperty(NettyAsyncHttpProviderConfig.USE_BLOCKING_IO, "false"); 
        configBuilder.setAsyncHttpClientProviderConfig(config);

        AsyncHttpClient client = new AsyncHttpClient(configBuilder.build());

The important part is: **EXECUTE_ASYNC_CONNECT** is **on** and **USE_BLOCKING_IO** is **off**. Found similar problem [here][2].


  [1]: https://github.com/sonatype/async-http-client
  [2]: https://groups.google.com/forum/?fromgroups#!topic/asynchttpclient/W0ikczA8mxQ
AsyncHttpClient is slow
===

I'm using sonatype's [async-http-client][1] to make many-many http requests. The problem is: **async-http-client** is very slow, even php-curl/python-curl/tornado/gevent.

I configure my **AsyncHttpClient** like this:


        AsyncHttpClientConfig.Builder configBuilder = new AsyncHttpClientConfig.Builder();
        configBuilder.setFollowRedirects(false);
        configBuilder.setAllowPoolingConnection(true);
        configBuilder.setRequestTimeoutInMs(10 * 1000);
        configBuilder.setExecutorService(Executors.newFixedThreadPool(100));
        configBuilder.setConnectionTimeoutInMs(5 * 1000);
        configBuilder.setMaximumConnectionsTotal(100);
        NettyAsyncHttpProviderConfig config = new NettyAsyncHttpProviderConfig();
        config.addProperty(NettyAsyncHttpProviderConfig.EXECUTE_ASYNC_CONNECT, "true");
        config.addProperty(NettyAsyncHttpProviderConfig.USE_BLOCKING_IO, "false"); 
        configBuilder.setAsyncHttpClientProviderConfig(config);

        AsyncHttpClient client = new AsyncHttpClient(configBuilder.build());

The important part is: **EXECUTE_ASYNC_CONNECT** is **on** and **USE_BLOCKING_IO** is **off**. Found similar problem [here][2].


  [1]: https://github.com/sonatype/async-http-client
  [2]: https://groups.google.com/forum/?fromgroups#!topic/asynchttpclient/W0ikczA8mxQ