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

Alexander Kolbasov commented on SENTRY-2030:
--------------------------------------------

I think synchronization isn't an issue because we are using repeatable-read 
results shouldn't change once you read them (except for Oracle where this might 
cause issues). All our Datanucleus options are configurable (you can overwrite 
them in sentry-site.xml), so I am talking about the default value.

> Enable first-level cache for DataNucleus
> ----------------------------------------
>
>                 Key: SENTRY-2030
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2030
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Alexander Kolbasov
>
> Sentry is using a new persistence manager instance per transaction and 
> repeatable-read transaction isolation level (except for Oracle). I think we 
> can safely enable first-level caching (which is at the PersistenceManager 
> level) which should improve performance without introducing any issues.
> [~spena] [~kkalyan] [~btowles][~lina.li] What do you think?



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

Reply via email to