livepeer / livepeer/go-livepeer

Orchestrator should not do own connection capping when using remote transcoders

Open
#907 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: orchestrator QoL need: discussion status: icebox
Dominant language
Go
Stars
586
Forks
226
Avg merge
1d 17h
Merged PRs (30d)
19

Description

Orchestrator's own connection capping was created for orchestrator doing transcoding by itself. For remote transcoders, there is another mechanism protecting transcoders from overload (each transcoder specifies own cap and orchestrator doesn't send more jobs then that cap to transcoder). But when remote transcoders connected, own orchestrator's capping still works, and takes precedence of transcoder's capping. That means that user should not forget to set `-masSessions` parameter on orchestrator to some high number which is higher then sum of cap of connected remote transcoders.
This is not great UX, we should automatically turn of orchestrator's connection capping when it works with remote transcoders.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the orchestrator's connection-capping logic and the remote transcoder session-cap handling; the issue does not name files or tests. Done means remote transcoders use their own aggregate caps without requiring a manually increased orchestrator cap, while local transcoding behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.