You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, kmesh does not support locality topology-aware load balancing. The purpose of this proposal is to add locality-based topology-aware load balancing capabilities to kmesh, corresponding to locality load balancing in Istio.
Implement the corresponding data structures combining parameters such as BalancingWeight, Priority, and Locality (new data structures may not be needed). Ensure that the load balancing functions have the capability to retrieve these parameters. The existing parameters are stored in the cluster's cache through the proto interface (in Go).
Make adjustments to the proposal: focus on the implementation of locality load balancing under the workload model.
The workload model requires implementing the corresponding load balancing logic in bpf\kmesh\workload\include\service.h, new load banlance handler function is similar to lb_random_handle.(locality failover, locality weighted distribution, ref)
Retrieve the load_balancing_weight and priority configurations from api/endpoint/endpoint.proto interface, and obtain the Locality configuration from api/workloadapi/workload.proto.
Add the Locality load balance configuration field to pkg\controller\config.go.
Add a new load balance type to api/cluster/cluster.proto.
Why:
Currently, kmesh does not support locality topology-aware load balancing. The purpose of this proposal is to add locality-based topology-aware load balancing capabilities to kmesh, corresponding to locality load balancing in Istio.
Plan:
more detials:
https://zrsnlqw1xd.feishu.cn/docx/Qpr6dtfe8olpBcx5HNscLotdn8c?from=from_copylink
The text was updated successfully, but these errors were encountered: