You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (JIRA)" <ji...@apache.org> on 2019/08/04 06:41:00 UTC

[jira] [Commented] (RANGER-2499) Improve bulk create/update policy performance

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

Pradeep Agrawal commented on RANGER-2499:
-----------------------------------------

Current performance(Without patch):

Time taken to import 500 policies : 27+ Minutes

Time taken to import 1000 policies : 81+ Minutes

 

Performance with the patch:

Time taken to import 500 policies : 84 seconds

Time taken to import 1000 policies : 111 seconds

 

References:

[https://en.wikibooks.org/wiki/Java_Persistence/Persisting]

[https://www.developerfusion.com/article/84945/flush-and-clear-or-mapping-antipatterns/]

> Improve bulk create/update policy performance
> ---------------------------------------------
>
>                 Key: RANGER-2499
>                 URL: https://issues.apache.org/jira/browse/RANGER-2499
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Pradeep Agrawal
>            Assignee: Pradeep Agrawal
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)