Junrui Li created FLINK-36172:
---------------------------------
Summary: Web UI Freezes When There Are Many Finished Tasks in
Batch Jobs
Key: FLINK-36172
URL: https://issues.apache.org/jira/browse/FLINK-36172
Project: Flink
Issue Type: Bug
Components: Runtime / Metrics, Runtime / REST
Reporter: Junrui Li
When there are a large number of finished tasks in batch jobs, the web UI
becomes unresponsive and often freezes, significantly impairing user
experience. A flame graph analysis reveals that most CPU time is consumed in
[{{MetricStore}}|https://github.com/apache/flink/blob/576ec2b9361a3f8d58fb22b998b0ca7c3c8cf10e/flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/legacy/metrics/MetricStore.java#L479],
indicating a performance bottleneck.
This issue appears to be an unexpected regression and should be addressed
promptly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)