We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current load balancing algorithm for GPUs is a simple, stateless round robin. For each segment:
gpu = gpus[i++ % len(gpus)`
With the LPMS bottleneck fix, transcode sessions become stateful. A naive approach to maintaining "sticky" sessions is this:
if sessions[id].nil ? sessions[id] = gpus[i++ % len(gpus)] gpu = sessions[id]
Can we do better than the naive approach? Probably.
Some challenges here are:
Need to determine:
TODOs:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The current load balancing algorithm for GPUs is a simple, stateless round robin. For each segment:
With the LPMS bottleneck fix, transcode sessions become stateful. A naive approach to maintaining "sticky" sessions is this:
Can we do better than the naive approach? Probably.
Some challenges here are:
Need to determine:
TODOs:
The text was updated successfully, but these errors were encountered: