kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
362 stars 46 forks source link

Maxinum number of service mesh instances supported in ads mode #330

Open nlgwcy opened 1 month ago

nlgwcy commented 1 month ago

What would you like to be added: As BenchmarkClusterFlush Test, each cluster consume more than 40 inner_maps. Currently, the maximum number of inner_maps is MAP_SIZE_OF_OUTTER_MAP,that is a maxinum of 400 records can be stored. The governance rules of a service may involve multiple xDSs, such as listeners/router/cluster/... greatly limit the maximum number of service instances supported in the mesh. Why is this needed: Consider an optimized solution that supports a larger scale of service grid service instances.

nlgwcy commented 1 month ago

/assign nlgwcy

hzxuzhonghu commented 1 month ago

This is kind of a general problem, and some other maps have the same concern

nlgwcy commented 1 month ago

This is kind of a general problem, and some other maps have the same concern

yes, the size of ebpf maps need to be reviewed.