[ 
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)

Reply via email to