Skip to content

Improve Device Selection Algorithm for User Connections in Multi-Device Cities #1599

@juan-malbeclabs

Description

@juan-malbeclabs

In cities where more than one device is available, and in cases where link saturation begins to occur, the current algorithm for selecting the “best” device for user connections is too simplistic. This can lead to inefficient distribution of traffic and potential service degradation.

Proposed Improvement

Enhance the device selection logic to consider multiple factors beyond availability, such as:

  • Current link utilization and saturation thresholds
    • Latency or quality metrics from existing connections
    • Load balancing across multiple devices in the same city
  • Ensure users are dynamically routed to the optimal device at connection time.
  • Maintain flexibility for contributors to override or fine-tune device priorities if needed.

Expected Outcome

  • More balanced traffic distribution across devices.
  • Reduced congestion on overloaded links.
  • Improved user experience with lower latency and fewer drops.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions