Support for multiple KMS instances with selection by current load
Needs ReviewPublic

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



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

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

Diff Detail

No Linters Available
No Unit Test Coverage
Build Status
Buildable 32629
Build 12595: arc lint + arc unit

Event Timeline

mollekopf requested review of this revision.Tue, Jan 12, 8:28 PM
mollekopf created this revision.
mollekopf updated this revision to Diff 5752.Wed, Jan 13, 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.Wed, Jan 13, 11:47 AM

Fixed build