[
https://issues.apache.org/jira/browse/HTTPCORE-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532786#comment-16532786
]
ASF GitHub Bot commented on HTTPCORE-484:
-----------------------------------------
GitHub user xiaohu-zhang opened a pull request:
https://github.com/apache/httpcomponents-core/pull/67
HTTPCORE-484 use TimeWheel algorithm to deal with time out
HashedWheelTimer and related util classes are copied from netty
framework with tiny changes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xiaohu-zhang/httpcomponents-core
TimeWheelForPR
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpcomponents-core/pull/67.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #67
----
----
> 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
> Priority: Major
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]