You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/04/19 13:59:00 UTC

[jira] [Commented] (NIFI-11461) Improve Tenant User and Group Search Performance

    [ https://issues.apache.org/jira/browse/NIFI-11461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714112#comment-17714112 ] 

ASF subversion and git services commented on NIFI-11461:
--------------------------------------------------------

Commit bdff3abcd6d072a61e6399e694e3213732696561 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=bdff3abcd6 ]

NIFI-11461 Improve User and Group Tenants Search (#7181)

* NIFI-11461 Improved User and Group Tenants Search

- Added searchTenants method to NiFiServiceFacade and removed unnecessary object creation
- Updated TenantsResource to use delegated NiFiServiceFacade.searchTenants method
- Changed autocomplete delay from default 300 ms to 500 ms

* NIFI-11461 Adjusted implementation to use EntityFactory.createTenantEntity

This closes #7181 

> Improve Tenant User and Group Search Performance
> ------------------------------------------------
>
>                 Key: NIFI-11461
>                 URL: https://issues.apache.org/jira/browse/NIFI-11461
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>             Fix For: 1.latest, 2.latest
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> The REST Resource supporting User and Group search is not efficient for large numbers of users and groups.
> The current implementation reads all users and all groups from the configured User Group Provider and also populates Entity objects with additional membership information prior to filtering the results. This can lead to poor runtime performance when the configured User Group Provider returns large numbers of results.
> Moving the filtering to a level lower than the REST Tenants Resource will enable filtering prior to Entity object population, improving the performance of search operations.



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