[core][dashboard] summarize_tasks
is slow and blocks event loop
#45899
Labels
core
Issues that should be addressed in Ray Core
enhancement
Request for new feature and/or capability
P1
Issue that should be fixed within a few weeks
What happened + What you expected to happen
When you have many tasks in cluster, and you query
localhost:8265/api/v0/tasks/summarize?timeout=30
you can get the result in ~2s, but meanwhile the event loop is blocked.Versions / Dependencies
master
Reproduction script
Create many tasks:
then make traffic:
then you can see the lag in dashboard. Now doing flame graph on dashboard:
Here is a svg file: dash_flamegraph
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: