Skip to content

High statistics poll overhead / Separate hit counter for statistics / Drop approximate stats and hash quality metric #150

@cruftex

Description

@cruftex

cache2k has approximate statistics for the hit counter. It uses the hit counter inside the cache entry, that is also used by the eviction algorithm. The statistics come for free, however, we need to iterate through all cache entries and sum up the hits when we request the statistics.

In case a cache is big and statistics are polled frequently, that might cause quite a CPU load.
Maybe do some deeper investigations on the overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions