LocalAI/core/p2p
Ettore Di Giacinto 02de274e00
feat(federated): allow to pickup a specific worker, improve loadbalancing (#3243)
* feat(explorer): allow to specify a worker target

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* feat(explorer): correctly load balance requests

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* feat(explorer): mark load balanced by default

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* fix: make sure to delete tunnels that might not exist anymore

If a worker goes off and on might change tunnel address, and we want to
load balance only on the active tunnels.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-08-13 16:17:18 +02:00
..
federated_server.go feat(federated): allow to pickup a specific worker, improve loadbalancing (#3243) 2024-08-13 16:17:18 +02:00
federated.go feat(federated): allow to pickup a specific worker, improve loadbalancing (#3243) 2024-08-13 16:17:18 +02:00
node.go feat(p2p): add network explorer and community pools (#3125) 2024-08-09 20:12:01 +02:00
p2p_disabled.go refactor: move federated server logic to its own service (#2914) 2024-07-18 19:15:15 +02:00
p2p.go feat(federated): allow to pickup a specific worker, improve loadbalancing (#3243) 2024-08-13 16:17:18 +02:00