Menu

Algorithm for selecting best server

2020-09-06
2020-09-06
  • Timo Sivula

    Timo Sivula - 2020-09-06

    Our Jamulus band is spread all around Europe and we struggle finding a good server, that would provide decent latency for all.

    This problem should be possible to be solved by Jamulus with an algorithm based on just a few criteria:
    1. No one in the band SHOULD have more than 40 ms latency
    2. The drummer SHOULD have the lowest latency
    3. Of the servers fulfilling 1 and 2 the one with the lowest sum of or lowest average latency for the whole band SHOULD be selected.

    The implementation could be a button that once pressed runs an algorithm fulfilling the above requirements and then proposes a list of servers in order of quality for the players in the current server.

    The benefit of this would that more music would be played.

    Timo

     
    • Gilgongo

      Gilgongo - 2020-09-06

      Hi Timo - cool idea!

      I don't know how big a job it would be to implement this idea, but you could try posting it to the Github issues as a feature request.

      BTW I assume step 0 would be "The servers under consideration [MUST/SHOULD?] be empty"

      https://github.com/corrados/jamulus/issues