You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2016/04/28 15:50:13 UTC

[jira] [Created] (NIFI-1822) Allow concurrent execution of ExecuteScript

Matt Burgess created NIFI-1822:
----------------------------------

             Summary: Allow concurrent execution of ExecuteScript
                 Key: NIFI-1822
                 URL: https://issues.apache.org/jira/browse/NIFI-1822
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Matt Burgess
            Assignee: Matt Burgess


Currently ExecuteScript is annotated as TriggerSerially, meaning only one task can be running at a time. This causes issues for throughput, and can become a severe bottleneck in a flow.

Originally this was done because the bindings for the session, context, etc. were put on a single script engine, so multiple tasks would clobber each other's bindings. However as a tradeoff (memory for capability), it would be better to have a "pool" of Script Engine instances, whose size is perhaps the max number of concurrent tasks.



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