You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Wiktor Kubicki (Jira)" <ji...@apache.org> on 2021/12/09 12:50:00 UTC
[jira] [Created] (NIFI-9465) Limit Max Thread Count in process groups
Wiktor Kubicki created NIFI-9465:
------------------------------------
Summary: Limit Max Thread Count in process groups
Key: NIFI-9465
URL: https://issues.apache.org/jira/browse/NIFI-9465
Project: Apache NiFi
Issue Type: Improvement
Affects Versions: 1.15.0
Reporter: Wiktor Kubicki
Now we are able to set Maximum Timer Driven/Event Thread Count for whole instance of NiFi. It would be great if there will be possiblity to set it per process group.
How it should looks?
Thread scheduler should check running_threads_in_instance < instance_thread_limit*and* running_threads_in_group < group_thread_limit. Now there is only first part.
Why? In multi-tenant enviroment we can limit permission but no resources like memory or CPU. This feature would give us a little bigger controll in that area and looks not very complicated to develop.
In second hand even in single tenant, there is advantage to limit it per process group - we can prevent whole instance against resources saturation if one group works harder.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)