PhysarumSM / service-manager

LCA and Proxy
Apache License 2.0
0 stars 0 forks source link

Proposal: Use LCAs to conduct basic network measurements #68

Open t-lin opened 3 years ago

t-lin commented 3 years ago

The current design/plan uses Prometheus to obtain metrics regarding end-to-end latency and bandwidth info. and the availability in remote compute nodes. This proposal seeks to decentralize the system in the event that Prometheus is unreachable. The trivial fallback is for clients to perform the the network measurements themselves (which is implicitly already being done due to libp2p's nodes pinging each peer). However this can lead to major waste of bandwidth if multiple clients within the same node are measuring peers in the same remote node.

As a middleground, the LCAs in each compute node can perform network measurements between each other and query compute resource availability from other LCAs. Clients can query their local LCA to obtain the relevant metrics to a specific target LCA.