Skip to content

ack超时,可以自适应处理 #4

Description

@junlon2006

记录最近10次ack耗时,找出中位数。
1、默认100ms,超时重传5次。
2、统计出合法的10次ack后,取中位数 * 2 为ack超时。
3、物理delay超时取ack中位数 * 10。
tips、需要考虑NTP校验时间带来的墙上时钟回退或快进的case。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions