Recently I looks into the cpu usage of control plane. <img width="2490" height="2860" alt="Image" src="https://github.com/user-attachments/assets/64e324fe-d6c9-486e-99e6-a36cadacf062" /> [main-pprof.gz](https://github.com/user-attachments/files/23643714/main-pprof.gz) There serval methods we need to looks into deep: 1. resources.GetEndpointSlicesForBackend 2. resources.GetService 3. (*gatewayAPIReconciler).processBackendRefs I think https://github.com/envoyproxy/gateway/pull/7535 will help on (1) and (2). But we need find a way to optimize the cost of list endpointslices by service. cc @envoyproxy/gateway-maintainers
Activity
zirain commentedon Dec 9, 2025
List endpoint for service cost much where there're lots of services.
github-actions commentedon Jan 8, 2026
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
kkk777-7 commentedon Jun 13, 2026
currently, also List endpoint process is heavy in
processBackendRefs.I experimented large scale environment. (Service: 2000, EndpointSlice: 4000)
kkk777-7 commentedon Jun 13, 2026
I'll plan to handle this issue.