hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stoimen Gerenski (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (HTTPASYNC-96) The client performs slowly on Windows with large files
Date Wed, 16 Dec 2015 15:10:46 GMT

     [ https://issues.apache.org/jira/browse/HTTPASYNC-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stoimen Gerenski closed HTTPASYNC-96.
-------------------------------------

> 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


Mime
View raw message