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

Madhan Neethiraj commented on RANGER-3378:
------------------------------------------

[~caozhiqiang] - done! Thank you for your contributions to improve policy 
evaluation performance.

It will help to review other plugins for similar improvements. For example 
Kafka plugin would mostly deal with resource having a single entry, like topic. 
Will you be able to help with this?

> StringBuilder.append spend too much time, should be replace to improve plugin 
> performance
> -----------------------------------------------------------------------------------------
>
>                 Key: RANGER-3378
>                 URL: https://issues.apache.org/jira/browse/RANGER-3378
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>    Affects Versions: 2.0.1
>            Reporter: caozhiqiang
>            Assignee: caozhiqiang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: RANGER-3378-branch-2.0.1.001.patch, 
> RANGER-3378-branch-2.0.1.003.patch, RANGER-3378-branch-2.0.1.004.patch, 
> getAsString.png, getAsString.png
>
>
> When enable ranger hdfs plugin, the performance is degraded. Use java 
> analysis tools found the 
> org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.getAsString 
> function take too much time. We should replace it to improve performance.
> !getAsString.png|width=939,height=371!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to