[
https://issues.apache.org/jira/browse/NIFI-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess updated NIFI-1822:
-------------------------------
Fix Version/s: 1.0.0
> 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
> Fix For: 1.0.0, 0.7.0
>
>
> 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)