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

Gábor Gyimesi updated MINIFICPP-2746:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Allow python processors to run in parallel
> ------------------------------------------
>
>                 Key: MINIFICPP-2746
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2746
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: New Feature
>            Reporter: Gábor Gyimesi
>            Assignee: Gábor Gyimesi
>            Priority: Minor
>             Fix For: 1.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Python processors are set to be single threaded as only one embedded python 
> interpreter is used, so the global interpreter lock can only be held by one 
> processor at a time. Still we could enable multithreading as python 
> processors could let go of the GIL in case of sleeping threads, waiting for 
> IO, http response etc. We should let the interpreter decide when to let go of 
> the GIL, but also give the option to make any custom python processor to be 
> single threaded if the developer of the processor decides so. This option 
> should be available for both MiNiFi and NiFi style python processors.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to