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] [Comment Edited] (HTTPASYNC-96) The client performs slowly on Windows with large files
Date Tue, 15 Dec 2015 09:53:46 GMT

    [ https://issues.apache.org/jira/browse/HTTPASYNC-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057738#comment-15057738
] 

Stoimen Gerenski edited comment on HTTPASYNC-96 at 12/15/15 9:53 AM:
---------------------------------------------------------------------

It's controlled environment (local network, HTTP server setup is under my control), so the
issue should not be due to network or server, also executed the tests multiple times and with
the same outcome.

Since HttpClient is the layer I am directly interfacing with, I thought the issue investigation
can start from there and the it might be due to some Windows-specific default configuration
done by the HttpClient, e.g. one thing I am considering testing is enabling the TCP No Delay
feature (not sure if that is different on Linux / Windows.

Anyway, it seems I need to do more investigation on my own and if found more evidence that
there is HttpClient-specific issue, go back with my findings here.
I guess this means we can resolve the issue.


Thanks,

-Stoimen


was (Author: sgerenski):
It's controlled environment, so the issue should not be due to network, also executed the
tests multiple times and with the same outcome.

Since HttpClient is the layer I am directly interfacing with, I thought the issue investigation
can start from there and the it might be due to some Windows-specific default configuration
done by the HttpClient, e.g. one thing I am considering testing is enabling the TCP No Delay
feature (not sure if that is different on Linux / Windows.

Anyway, it seems I need to do more investigation on my own and if found more evidence that
there is HttpClient-specific issue, go back with my findings here.
I guess this means we can resolve the issue.


Thanks,

-Stoimen

> 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