You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2021/12/03 14:49:00 UTC

[jira] [Assigned] (MINIFICPP-1222) Rework engine queue for ExecutePythonProcessor

     [ https://issues.apache.org/jira/browse/MINIFICPP-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gábor Gyimesi reassigned MINIFICPP-1222:
----------------------------------------

    Assignee: Gábor Gyimesi  (was: Adam Hunyadi)

> Rework engine queue for ExecutePythonProcessor
> ----------------------------------------------
>
>                 Key: MINIFICPP-1222
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1222
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Adam Hunyadi
>            Assignee: Gábor Gyimesi
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> *Background:*
> The ExecutePythonProcessor is expected to have a limit on the maximal number of concurrent tasks it can run. This {{{color:#403294}{{max_concurrent_tasks}}{color}}} number is currently handled incorrectly, and the processor is able to run any number of tasks at the same time, but only {{{color:#403294}{{max_concurrent_tasks}}{color}}} script-engine is reused.
> *Proposal*:
> We should use {{{color:#403294}{{max_concurrent_tasks}}{color}}} as the size of script-engine pool for the processor and always use engines from this pool, wait otherwise.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)