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

[BUG] Performance degradation when opening a project in Phoenix as the number of traces grows #6201

Open
axiomofjoy opened this issue Jan 29, 2025 · 3 comments
Labels
bug Something isn't working triage issues that need triage

Comments

@axiomofjoy
Copy link
Contributor

Loading the traces list for a project (/projects/{id}) becomes increasingly slow relative to the number of traces, though the projects (plural) page and individual trace views remain fast. The issue persists despite traces being paginated and deleted weekly. Some traces contain a large number of spans (>100) and long-context spans, which may contribute to the slowdown.

User is self-hosting Phoenix in Kubernetes. The database is Postgres in Amazon Aurora with db.r7g.xlarge instances. Currently on Phoenix 7.9.0.

@axiomofjoy axiomofjoy added bug Something isn't working triage issues that need triage labels Jan 29, 2025
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix Jan 29, 2025
Copy link

dosubot bot commented Jan 29, 2025

I found 1 similar issue that might be helpful:

  • Trace lazy loading [ENHANCEMENT] - This issue was addressed by implementing UI lazy loading of spans, which may help improve performance when handling a large number of traces.

@axiomofjoy
Copy link
Contributor Author

Related to #4006

@BenMcH
Copy link

BenMcH commented Jan 29, 2025

This has been observed on projects that I've used phoenix as well. We've run phoenix in fargate instances on AWS and in container apps on Azure, both backed by hosted/managed Postgres instances in their respective clouds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage issues that need triage
Projects
Status: 📘 Todo
Development

No branches or pull requests

2 participants