Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weighted loadbalancing (client steering), WG peer config push to clients #87

Merged
merged 8 commits into from
Jan 9, 2024

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    804107d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f1a958 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. Publish worker metrics and data, assign gateways to clients

    * Workers publish their number of connected peers per domain
    * Workers publish their status, i.e. up or down
    * The new /api/v2/exchange endpoint returns a predetermined gateway endpoint for clients
    * This gateway is chosen based on weighted loadbalancing between online workers/gateways
    * Fetch worker data through netlink and publish with MQTT:
      * Read worker pubkey, port and link address from interface.
      * Publish it together with the external domain / address (read from the config file) via MQTT to the broker.
    DasSkelett committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    216008e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21a125b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50a7ca6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be42063 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7aa9967 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bab86f7 View commit details
    Browse the repository at this point in the history