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 2016/12/20 17:28:59 UTC
[jira] [Created] (NIFI-3235) EvaluateJsonPath performance
improvements
Bryan Rosander created NIFI-3235:
------------------------------------
Summary: EvaluateJsonPath performance improvements
Key: NIFI-3235
URL: https://issues.apache.org/jira/browse/NIFI-3235
Project: Apache NiFi
Issue Type: Improvement
Reporter: Bryan Rosander
Priority: Minor
EvaluateJsonPath does a lot of work in every onTrigger() that can be done when scheduled. This has the effect of making it take more cpu cycles than necessary to do its job.
Initializing the JsonPath objects in a ThreadLocal because they aren't thread-safe and getting the properties from the ProcessContext a single time in onSchedule() should reduce the amount of CPU time this processor needs to perform a given task.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)