[ 
https://issues.apache.org/jira/browse/USERGRID-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Johnson updated USERGRID-1007:
------------------------------------
    Description: 
How will a cache help improve performance?
* Reduce load on Tomcat, ES and C* caused by permissons calculation.
          
Do we need a distributed cache?
* YES: Todd says we tried non-distributed cache (w/EhCache) and the caching was 
not effective (bad hit/mss ratio).

Implementation ideas:
* Use Cassandra column family implementation 
* Use Hazelcast cache
* Use EhCache configured for distributed operation

How much should we expect performance to improve? How can we test this?
* JUnit + metrics collection in our cache implementation


  was:
How will a cache help improve performance?
     Reduce load on Tomcat, ES and C* caused by permissons calculation.
          
Do we need a distributed cache?
     YES: Todd says we tried non-distributed cache (w/EhCache) and the caching 
was not effective (bad hit/mss ratio).

Implementation ideas:
     Use Cassandra column family implementation 
     Use Hazelcast cache
     Use EhCache configured for distributed operation

How much should we expect performance to improve?
     Need to test this

How many calls to C* and ES will cache prevent per request?
     Need to test this

How can we test this?
     JUnit + metrics collection in our cache implementation



> Implement a cache for Shiro & permissions
> -----------------------------------------
>
>                 Key: USERGRID-1007
>                 URL: https://issues.apache.org/jira/browse/USERGRID-1007
>             Project: Usergrid
>          Issue Type: Story
>            Reporter: Jeffrey 
>            Assignee: David Johnson
>
> How will a cache help improve performance?
> * Reduce load on Tomcat, ES and C* caused by permissons calculation.
>           
> Do we need a distributed cache?
> * YES: Todd says we tried non-distributed cache (w/EhCache) and the caching 
> was not effective (bad hit/mss ratio).
> Implementation ideas:
> * Use Cassandra column family implementation 
> * Use Hazelcast cache
> * Use EhCache configured for distributed operation
> How much should we expect performance to improve? How can we test this?
> * JUnit + metrics collection in our cache implementation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to