Page MenuHomekolab.org

Support for multiple KMS instances with selection by current load
ClosedPublic

Authored by mollekopf on Jan 12 2021, 8:28 PM.

Details

Summary

The load is simply the current number of webrtc connections.
This has mostly been based on removed code from
883d686542f2c72c86b8365978cadf2b13d315e4 and
e400a90942f7dcc160ab45ef0272157774dc59c5.

Verified that with two KMS instaces and two rooms, each get's used
once.
Look for "KMS less loaded is ws://localhost:8889/kurento with a load of
0.0" in the logs.

Diff Detail

Repository
rOV openvidu
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mollekopf requested review of this revision.Jan 12 2021, 8:28 PM
mollekopf created this revision.
mollekopf updated this revision to Diff 5752.Jan 13 2021, 9:50 AM

Added copyright

  • no longer fails if some kms is initially unreachable
  • allowMoreElements is now taken into account

Alternatively we could also get rid of allowMoreElements if we don't need a limit on number of pipelines.

For the branch I would propose we base ourselves on the v2.16.0 tag

mollekopf updated this revision to Diff 5758.Jan 13 2021, 11:47 AM

Fixed build

vanmeeuwen accepted this revision.Jan 26 2021, 11:16 AM
This revision is now accepted and ready to land.Jan 26 2021, 11:16 AM
This revision was automatically updated to reflect the committed changes.