Skip to content

Perf: cpu spikes #7573

@zirain

Description

@zirain

Recently I looks into the cpu usage of control plane.

Image

main-pprof.gz

There serval methods we need to looks into deep:

  1. resources.GetEndpointSlicesForBackend
  2. resources.GetService
  3. (*gatewayAPIReconciler).processBackendRefs

I think #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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions