You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bin Chen (JIRA)" <ji...@apache.org> on 2014/03/03 04:31:20 UTC

[jira] [Commented] (TS-1405) apply time-wheel scheduler about event system

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

Bin Chen commented on TS-1405:
------------------------------

the origin event schedule policy will schedule the event(event->timeout_at - now < 5ms).now new patch(v12) will schedule these event too. 

> apply time-wheel scheduler  about event system
> ----------------------------------------------
>
>                 Key: TS-1405
>                 URL: https://issues.apache.org/jira/browse/TS-1405
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.2.0
>            Reporter: Bin Chen
>            Assignee: Bin Chen
>              Labels: C
>             Fix For: 5.2.0
>
>         Attachments: linux_time_wheel.patch, linux_time_wheel_v10jp.patch, linux_time_wheel_v11jp.patch, linux_time_wheel_v12.patch, linux_time_wheel_v2.patch, linux_time_wheel_v3.patch, linux_time_wheel_v4.patch, linux_time_wheel_v5.patch, linux_time_wheel_v6.patch, linux_time_wheel_v7.patch, linux_time_wheel_v8.patch, linux_time_wheel_v9jp.patch, patch12_test.pdf
>
>
> when have more and more event in event system scheduler, it's worse. This is the reason why we use inactivecop to handler keepalive. the new scheduler is time-wheel. It's have better time complexity(O(1))



--
This message was sent by Atlassian JIRA
(v6.2#6252)