Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller poor performance with large amount of hosts. #1557

Open
1 task done
zzjin opened this issue Dec 2, 2024 · 1 comment
Open
1 task done

Controller poor performance with large amount of hosts. #1557

zzjin opened this issue Dec 2, 2024 · 1 comment
Labels

Comments

@zzjin
Copy link
Contributor

zzjin commented Dec 2, 2024

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via ASRC(Alibaba Security Response Center) where the issue will be triaged appropriately.

  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

When one k8s cluster have thousands of ingress with different hostnames,higress-controller will use large amount of cpu and memory, and result in newly created or modified ingress takes about ten seconds to become accessible, during which time it may show 404, 500, or 503 errors.

Ⅱ. Describe what happened

The newly created or modified ingress can be accessible under seconds.

Ⅲ. Describe what you expected to happen

It is needed by tens seconds or more to reconcile ingress.

@johnlanni
Copy link
Collaborator

johnlanni commented Dec 2, 2024

higress currently depends on istio at the bottom layer. When there are many domain names, istio generates LDS (containing a large number of filter chains), which consumes a lot of CPU.

By adding the cache of LDS, this problem can be solved.

istio currently does not have an xds cache for LDS, it can be extended on the higress fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants