Gábor Gyimesi created MINIFICPP-2746:
----------------------------------------
Summary: 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
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)