Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: hit_in_bytes hit_out_bytes miss_in_bytes miss_out_bytes #181

Open
nagylzs opened this issue Apr 19, 2020 · 0 comments
Open

Comments

@nagylzs
Copy link

nagylzs commented Apr 19, 2020

I can determine the cache hit/miss ratio in terms of number of requests:

request_hit_ratio = cache_hit / ( cache_hit + cache_miss )

What I really need is to measure cache efficiency based on amounts of data. Something like this:

data_hit_ratio = hit_out_bytes / ( hit_out_bytes + miss_out_bytes )

But I can't do this because this data is not available and it cannot be calculated. We have in_bytes and out_bytes, but it includes both hit and miss data. We have cache_hit and cache_miss but that does not contain the amounts of data (only number of requests).

Would it be possible to add these values?

  • hit_in_bytes
  • hit_out_bytes
  • miss_in_bytes
  • miss_out_bytes

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants