You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2022/09/28 05:43:00 UTC
[jira] [Created] (RANGER-3934) improve tag cache handling to reduce resource usage
Madhan Neethiraj created RANGER-3934:
----------------------------------------
Summary: improve tag cache handling to reduce resource usage
Key: RANGER-3934
URL: https://issues.apache.org/jira/browse/RANGER-3934
Project: Ranger
Issue Type: Improvement
Components: admin
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Ranger admin server maintains a cache of tags so that requests from plugins can be served as quickly as possible. If there were changes to tags since the cache was last loaded/updated, the cache is refreshed. Ranger supports an option to record the changes and apply them on top of existing cache - this minimizes the resources (memory, CPU) needed to rebuild the cache. The cache update implementation can be optimized to minimize objects loaded from db, and also replace use of Map with Set in several places.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)