为什么我看统计是根据key来统计的,我这边看到的统计是按照cachename来统计的
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the StatInfoLogger output shown in the report and trace how the statistics are grouped for sysDictCache, sysOfficeCache, and sysPermisionCache. Reproduce the reported counters, then determine whether the grouping uses cache names or keys; done means the behavior is explained and any confirmed aggregation defect has a clear expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100