You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Rosander (JIRA)" <ji...@apache.org> on 2017/01/04 16:45:58 UTC

[jira] [Created] (NIFI-3277) StandardProcessSession.isSpuriousRouteEvent() performance

Bryan Rosander created NIFI-3277:
------------------------------------

             Summary: StandardProcessSession.isSpuriousRouteEvent() performance
                 Key: NIFI-3277
                 URL: https://issues.apache.org/jira/browse/NIFI-3277
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Bryan Rosander
            Priority: Minor


StandardProcessSession.isSpuriousRouteEvent() currently creates a Relationship from a builder and loops over all checkpoint records the for every route provenance event generated by the processor.

This takes nontrivial time and can be mitigated by caching the Relationships and creating a uuid -> StandardFlowFileRecord map on-demand.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)