You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Stoimen Gerenski (JIRA)" <ji...@apache.org> on 2015/12/15 06:33:46 UTC

[jira] [Created] (HTTPASYNC-96) The client performs slowly on Windows with large files

Stoimen Gerenski created HTTPASYNC-96:
-----------------------------------------

             Summary: The client performs slowly on Windows with large files
                 Key: HTTPASYNC-96
                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-96
             Project: HttpComponents HttpAsyncClient
          Issue Type: Bug
    Affects Versions: 4.1.2
         Environment: Windows 7 x64
            Reporter: Stoimen Gerenski


Using custom instance of the client with pretty much standard configuration:

IOReactorConfig config = IOReactorConfig.DEFAULT;
IOReactor ioreactor = new DefaultConnectingIOReactor(config);

PoolingNHttpClientConnectionManager cm = 
  new PoolingNHttpClientConnectionManager(ioReactor);
cm.setMaxTotal(100);
cm.setDefaultMaxPerRoute(1);
CloseableHttpAsyncClient client = 
  HttpAsyncClients.custom().setConnectionManager(cm).build();
client.start();

For writing the bits on disk, used ZeroCopyConsumer.

Downloading 11 files in total with total size 1,6 GB from the same server.

Using the same build, downloaded on Linux for 1 minute and on Windows for 4 minutes.

Tested with both Java 7 and 8 JREs on the Windows machine - same result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org