You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2023/11/06 17:25:00 UTC
[jira] [Updated] (NIFI-12322) Add resource usage documentation for ElasticSearchClientServiceImpl
[ https://issues.apache.org/jira/browse/NIFI-12322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard updated NIFI-12322:
----------------------------------
Fix Version/s: 1.latest
2.latest
Status: Patch Available (was: Open)
> Add resource usage documentation for ElasticSearchClientServiceImpl
> -------------------------------------------------------------------
>
> Key: NIFI-12322
> URL: https://issues.apache.org/jira/browse/NIFI-12322
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Pierre Villard
> Assignee: Pierre Villard
> Priority: Major
> Fix For: 1.latest, 2.latest
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We observed a significant resource usage when using many ES controller service instances. After investigation, it appears that the ES client relies on a RestClient where the Apache Http Async Client starts by default one dispatcher thread, and a number of worker threads used by the connection manager, as many as the number of locally detected processors (depending on what Runtime.getRuntime().availableProcessors() returns).
> I think it'd be worth adding this in the documentation and the proper annotation where relevant.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)