Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3678 +/- ##
===================================================
+ Coverage 31.73926% 31.75223% +0.01297%
===================================================
Files 156 156
Lines 47342 47351 +9
===================================================
+ Hits 15026 15035 +9
Misses 31434 31434
Partials 882 882
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
j0sh
left a comment
There was a problem hiding this comment.
Does this mean gateways will tend to select the same orchestrators every time?
This is OK for now but I wonder about the effects of concentrating work among a few "favored" Os. It also might end up affecting startup time if the gateway's preferred orchs are busy.
A refinement for later could be to have a maximum latency target, and randomly select from orchestrators under that target. If nobody is available within the target, then the target can be broadened incrementally.
|
Add LiveSelectionAlgorithm, which for now only takes into consideration the maxPrice (the Orchestrator's price needs to be below the
maxPricevalue set by Gateway). Then, it takes the first Orchestrators in the list (which is sorted by the initial latency).This new selection algorithm ignores other factors like:
Fix https://linear.app/livepeer/issue/INF-239/public-os-selected-regardless-of-latency