[
https://issues.apache.org/jira/browse/NIFI-14713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007651#comment-18007651
]
ASF subversion and git services commented on NIFI-14713:
--------------------------------------------------------
Commit 0b748e2ebb06eeb8f3828bb913af3aa47e0a686a in nifi's branch
refs/heads/main from Eric Secules
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0b748e2ebb ]
NIFI-14713 FlowAnalyzer perf improvements:
- Short circuit getting rule violations when there are none and when we're
getting violations for the root process group by ID or alias.
- Short circuit flow analysis if there are no rule violations configured.
- Changes to getRuleViolationStream algorithm which significantly improve
performance.
This closes #10079.
Signed-off-by: Tamas Palfy <[email protected]>
> Short circuit the flow-analysis endpoint
> ----------------------------------------
>
> Key: NIFI-14713
> URL: https://issues.apache.org/jira/browse/NIFI-14713
> Project: Apache NiFi
> Issue Type: Sub-task
> Reporter: Eric Secules
> Assignee: Eric Secules
> Priority: Major
> Time Spent: 3h
> Remaining Estimate: 0h
>
> Short circuit the endpoint {{/nifi-api/flow/flow-analysis/results/** }}when
> there are no errors to report. This will be a quick fix for the poor endpoint
> performance when there is a very large flow.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)