Eric Secules created NIFI-14712:
-----------------------------------

             Summary: Performance issue with flow-analysis for a process group
                 Key: NIFI-14712
                 URL: https://issues.apache.org/jira/browse/NIFI-14712
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 2.4.0
            Reporter: Eric Secules
         Attachments: Screenshot 2025-07-03 at 7.05.42 PM-1.png

Background: I have a very large flow with 50000 or so processors and the 
flow-analysis endpoint is taking 20 or more seconds to complete. This is likely 
because the endpoint is traversing all the process groups recursively each time 
it is called. 

This endpoint also holds a read lock on the flow for the entire time, so it 
will prevent any writes. 

Suggestions (not mutually exclusive):
 # Short circuit this endpoint and return a default success value if there are 
no violations at all.
 # Only show detailed validation errors for the current process group and not 
descendants in the UI
 ## For process groups within the current process group, show a cumulative 
count of violations within each process group.

!Screenshot 2025-07-03 at 7.04.37 PM.png!

!Screenshot 2025-07-03 at 7.05.42 PM.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to