8000 Performance and Scalability · Issue #8403 · kiali/kiali · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Performance and Scalability #8403

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

Closed
Tommolo opened this issue May 8, 2025 · 9 comments
Closed

Performance and Scalability #8403

Tommolo opened this issue May 8, 2025 · 9 comments
Labels
bug Something isn't working

Comments

@Tommolo
Copy link
Tommolo commented May 8, 2025

I'm trying to use Kiali in an environment where I have a namespace with a high number of deployments and services (around 320 deployments and 200 services). I've noticed that Kiali is very slow when loading the traffic graph. Is there a way to reduce the loading time?

@Tommolo Tommolo added the bug Something isn't working label May 8, 2025
@aljesusg
Copy link
Collaborator
aljesusg commented May 8, 2025

Hi @Tommolo , thanks for opening the issue.

What version of Kiali are you using?

@Tommolo
Copy link
Author
Tommolo commented May 8, 2025

I'm using kiali v2.0.0

8000

@jmazzitelli
Copy link
Collaborator

This probably should not be a separate issue - we already have an epic on this with related issues, unless you have a specific issue that you can specify what is causing the slowdown. So I would recommend participating in the already existing epic/issues for performance related tasks.

Please see:

@jmazzitelli
Copy link
Collaborator

As for this question:

Is there a way to reduce the loading time?

See the one link above with the test doc page - that's what it is geared to answer

@nrfox
Copy link
Contributor
nrfox commented May 8, 2025

@jmazzitelli at least it's another helpful data point.

@Tommolo for performance issues it's also helpful to include as much context as you can to help us get an idea of where the bottleneck is. You've included how many workloads/services this is for which is very helpful. How many namespaces are selected on the graph page? Roughly how many istio configuration objects (DestinationRules, VirtualService, etc.) are there? For graph generation it could be rendering the graph (UI), generating the graph (Kiali backend), prometheus, or the connection between your browser and the Kiali API. We're actively working on making these issues easier to diagnose and report. See: #8345. In the meantime, Kiali emits some metrics about graph generation. You can query for kiali_graph_* in prom to see how long Kiali may be taking on the backend to generate the graph. You can also open your dev console and see how long the /api/namespaces/graph request to the backend is taking.

There's not really a magic configuration knob to make performance better. You can try scaling Kiali up (more cpu/mem) or scaling up Prometheus but without knowing exactly where the bottleneck is I can't guarantee that will help.

@RobyBobby24
Copy link
RobyBobby24 commented May 21, 2025

I’m also having issues with this and had a couple of questions:

  • Could the number of clusters connected to the Kiali instance impact performance, and how do you suggest to manage this situation for don't worse the performance (we have more than 10 clusters in mesh) ?
  • Does installing the Kiali Operator improve performance comparing with direct istallation?

@jmazzitelli
Copy link
Collaborator

Could the number of clusters connected to the Kiali instance impact performance, and how do you suggest to manage this situation for don't worse the performance (we have more than 10 clusters in mesh) ?

That would seem likely, though I can't give you a reason why. I don't think we have had any users up to this point with 10 clusters in the mesh (none that told us about it anyway).

Does installing the Kiali Operator improve performance comparing with direct istallation?

No, the installation mechanism shouldn't make a difference when looking at performance of the server.

@jshaughn
Copy link
Collaborator

I'd also suggest always using the most recent version of Kiali that is compatible with your Istio version. Also, Kiali performance is very tied to Prometheus query performance, so you may also want to look at https://kiali.io/docs/configuration/p8s-jaeger-grafana/prometheus/#prometheus-tuning.

@jshaughn
Copy link
Collaborator

There is no specific issue here, and nothing we can really action on. I'm going to convert this to a discussion...

@kiali kiali locked and limited conversation to collaborators May 21, 2025
@jshaughn jshaughn converted this issue into discussion #8445 May 21, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants
0