cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4295) Implement caching of authorization results
Date Sat, 10 Nov 2012 03:45:13 GMT

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

Aleksey Yeschenko commented on CASSANDRA-4295:
----------------------------------------------

So the proposed solution is to use Guava's CacheBuilder<IResource,Set<Permission>>
for a map in ClientState. TTL will be configurable through cassandra.yaml and will be set
to 1 second by default.
                
> Implement caching of authorization results
> ------------------------------------------
>
>                 Key: CASSANDRA-4295
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4295
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 1.1.0
>            Reporter: Jonathan Ellis
>            Assignee: Aleksey Yeschenko
>             Fix For: 1.2.0
>
>         Attachments: CASSANDRA-4295.patch
>
>
> 1.2 will come with default IAuthority implementation that stores permissions in Cassandra,
and each permission check will involve at least 1 Cassandra read. Some form of authorization
result caching is very important for this scenario.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message