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

Kevin Risden commented on KNOX-2136:
------------------------------------

Might want to look at https://github.com/ben-manes/caffeine which is used in a 
bunch of projects. It seems to have evolved out of Guava. I think a 
"write-through" cache is probably right here to be able to cache reads but then 
ensure updates are correct.

> Caching for keystore-based AliasService implementation
> ------------------------------------------------------
>
>                 Key: KNOX-2136
>                 URL: https://issues.apache.org/jira/browse/KNOX-2136
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>    Affects Versions: 1.3.0
>            Reporter: Philip Zampino
>            Priority: Major
>             Fix For: 1.4.0
>
>
> Performance testing has revealed that as the number of keys increases, the 
> performance of keystores degrades significantly. We should investigate the 
> feasibility and potential benefit of adding in-memory caching of aliases in 
> the keystore(file)-based AliasService implementation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to