kubeedge / kubeedge

Kubernetes Native Edge Computing Framework (project under CNCF)
https://kubeedge.io
Apache License 2.0
6.69k stars 1.71k forks source link

How do KubeEdge's edge nodes find nearby relay node? #5552

Open YTGhost opened 5 months ago

YTGhost commented 5 months ago

Hi everyone, I am very interested in the distributed dynamic relay connectivity provided by the EdgeMesh subproject under KubeEdge.

I have been researching the EdgeMesh project and found in the documentation that it is possible to dynamically select nearby relay nodes based on the geographic distribution of cluster nodes to provide network connectivity services, and this implementation is achieved through DHT.

However, I believe that in EdgeMesh, the closest nodes found through DHT are defined by the XOR distance between node IDs, which might not reflect the actual physical distances between nodes. Perhaps there is something I'm misunderstanding. Could anyone clarify this for me?

wbc6080 commented 5 months ago

You can get more accurate answers by asking questions under the edgemesh sub-project.