hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "silver9886 (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HTTPCORE-484) check timeout could use TimeWheel algorithm
Date Sun, 27 Aug 2017 08:35:00 GMT

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

silver9886 edited comment on HTTPCORE-484 at 8/27/17 8:34 AM:
--------------------------------------------------------------

please give the git url I should fork.fork from https://github.com/apache/httpcomponents-core
or from https://github.com/apache/httpcomponents-core/tree/4.4.x
thank you 


was (Author: silver9886):
please give the git url I should fork.fork from https://github.com/apache/httpcomponents-core
or from https://github.com/apache/httpcomponents-core
thank you 

> check timeout could use TimeWheel algorithm
> -------------------------------------------
>
>                 Key: HTTPCORE-484
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-484
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.4.6
>            Reporter: silver9886
>             Fix For: 5.0
>
>
> check time out every this.selectTimeout,and had to iterator all the SelectionKeys.
> it is not efficient nor accurate when their is a lot of SelectionKeys.
> I suggest use the TimeWheel algorithm when check the channel time out just
> as netty do.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message