Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a floor of 1.5s for threshold to switch Os #2837

Merged
merged 3 commits into from
Aug 9, 2023
Merged

Conversation

thomshutt
Copy link
Contributor

@thomshutt thomshutt commented Aug 9, 2023

What does this pull request do? Explain your changes. (required)
We currently have a threshold of 1*<segment duration> for decided when to swap to another Orchestrator, to ensure we're transcoding in realtime.

This has been observed to be overly aggressive for 1s segments however, where even high-performing Orchestrators will sit very close to the limit.

Rather than incurring the overheads of swapping for Os that are otherwise keeping up, we're setting a floor of 1.5s for transcoding duration.

Specific updates (required)

  • Set a floor of 1.5s on transcode duration before swapping

How did you test each of these updates (required)

  • I'll deploy to Staging, push through a stream with 1s segments and observe swapping

Does this pull request close any open issues?
No

Checklist:

Copy link
Contributor

@leszko leszko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is ok as a quick fix. 👍

@thomshutt thomshutt merged commit 9bcc35c into master Aug 9, 2023
10 of 13 checks passed
@thomshutt thomshutt deleted the 1s-leniency branch August 9, 2023 20:10
@thomshutt thomshutt mentioned this pull request Oct 9, 2023
eliteprox pushed a commit to eliteprox/go-livepeer that referenced this pull request Feb 21, 2024
* Set a floor of 1.5s for threshold to switch Os

* Update tests to account for new minimum timeout

* Update changelog
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.

None yet

2 participants