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

Arjun Mishra commented on SENTRY-1937:
--------------------------------------

I agree we should optimize this further. But I don't think listing roles by 
group name is a hot path. Listing privileges for provider (groups/users) is 
used with more frequently. Listing roles is probably only used with query like 
_SHOW ROLES_  or _SHOW CURRENT ROLES_

> Optimize performance for listing sentry roles by group name
> -----------------------------------------------------------
>
>                 Key: SENTRY-1937
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1937
>             Project: Sentry
>          Issue Type: Improvement
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Alexander Kolbasov
>            Assignee: Arjun Mishra
>
> It seems that the most common request is listing sentry roles by group name, 
> so this is a very hot path. It is important to optimize its performance, 
> especially in the presence of many roles.
> [~arjunmishra13] FYI.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to