[
https://issues.apache.org/jira/browse/HADOOP-10802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055458#comment-14055458
]
Andrew Wang commented on HADOOP-10802:
--------------------------------------
A few ideas for metrics (just suggestions):
* # of times the cache is empty (0) when a request comes in
* Moving average cache size
* Some indication of peak load, e.g. max request rate over different time
durations
* A histogram showing how "hot" some keyIds are compared to others, so we know
how skewed demand is
> Add metrics for KMS client and server encrypted key caches
> ----------------------------------------------------------
>
> Key: HADOOP-10802
> URL: https://issues.apache.org/jira/browse/HADOOP-10802
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Andrew Wang
> Assignee: Arun Suresh
>
> HADOOP-10720 is adding KMS server and client caches for encrypted keys for
> performance reasons. It would be good to add metrics to make sure that the
> cache is working as expected, and to inform future dynamic cache sizing and
> refilling policies.
--
This message was sent by Atlassian JIRA
(v6.2#6252)