Skip to content

Stabilize timeout generation#4

Merged
hanapedia merged 5 commits intomainfrom
feat/stabilize-timeout
Dec 22, 2024
Merged

Stabilize timeout generation#4
hanapedia merged 5 commits intomainfrom
feat/stabilize-timeout

Conversation

@hanapedia
Copy link
Owner

Stabilize timeout generation by updating the timeout less frequently.
The new version of adapto will compute new timeout every interval instead of every RTT. (srtt and rttvar are updated per RTT)
This stablizes the generated timeout values as it will be more likely to use the up to date srtt and rttvar.

Additionally, for the separation of concerns in the different states of the state machine, the code was refactored around switch statement with the states as cases.

New States, STARTUP, DRAIN, and FAILURE was added to the original OVERLOAD and NORMAL. And NORMAL was renamed as CRUISE.

@hanapedia hanapedia merged commit 9f31b3e into main Dec 22, 2024
1 check failed
@hanapedia hanapedia deleted the feat/stabilize-timeout branch December 22, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant