sysDictCache(hit rate 40.000%)
oper | qps/tps| count| success/hit| fail| miss| expired| avgTime|minTime|maxTime
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
get | 0.08| 10| 4| 0| 6| 0| 58.1| 36| 88
put | 0.05| 6| 6| 0| N/A| N/A| 78.0| 38| 183
remove | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
load | 0.05| 6| 6| 0| N/A| N/A| 67.3| 52| 108
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
sysOfficeCache(hit rate 50.000%)
oper | qps/tps| count| success/hit| fail| miss| expired| avgTime|minTime|maxTime
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
get | 0.05| 6| 3| 0| 3| 0| 68.3| 36| 195
put | 0.03| 3| 3| 0| N/A| N/A| 100.0| 42| 174
remove | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
load | 0.03| 3| 3| 0| N/A| N/A| 100.0| 60| 163
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
sysPermisionCache(hit rate 0.000%)
oper | qps/tps| count| success/hit| fail| miss| expired| avgTime|minTime|maxTime
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
get | 0.01| 1| 0| 0| 1| 0| 81.0| 81| 81
put | 0.01| 1| 1| 0| N/A| N/A| 85.0| 85| 85
remove | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
load | 0.01| 1| 1| 0| N/A| N/A| 4,963.0| 4,963| 4,963
2019-09-11 17:02:00.013 [JetCacheDefaultExecutor] INFO com.alicp.jetcache.support.StatInfoLogger:46 - jetcache stat from 2019-09-11 17:00:00,005 to 2019-09-11 17:02:00,007
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
sysDictCache(hit rate 0.000%)
oper | qps/tps| count| success/hit| fail| miss| expired| avgTime|minTime|maxTime
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
get | 0.00| 0| 0| 0| 0| 0| 0.0| 0| 0
put | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
remove | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
load | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
sysOfficeCache(hit rate 0.000%)
oper | qps/tps| count| success/hit| fail| miss| expired| avgTime|minTime|maxTime
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
get | 0.00| 0| 0| 0| 0| 0| 0.0| 0| 0
put | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
remove | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
load | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
sysPermisionCache(hit rate 0.000%)
oper | qps/tps| count| success/hit| fail| miss| expired| avgTime|minTime|maxTime
----------+----------+--------------+--------------+--------------+--------------+--------------+---------+-------+-------
get | 0.00| 0| 0| 0| 0| 0| 0.0| 0| 0
put | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
remove | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
load | 0.00| 0| 0| 0| N/A| N/A| 0.0| 0| 0
3条答案
按热度按时间kmb7vmvb1#
统计都是按cache来统计的,但是内置的日志统计输出有两种模式,你给出的这种是详细模式。
5fjcxozz2#
统计都是按cache来统计的,但是内置的日志统计输出有两种模式,你给出的这种是详细模式。
如果需要详细的统计是否就需要每个都定义不同的cache,比如sysCache里面有3个key,dict,office,permission这样的,我希望能看到syscache的3个key的相关统计。
tzcvj98z3#
这个需求太特殊,只能是自己定制了