Skip to content

caching: add continuous cache eviction #183

Description

@ThomasWaldmann

Currently, cache eviction is only done at Store open/close time (IIRC).

Problem:

If the cache is enabled (e.g. C_WRITETHROUGH and a limited cache size [== a full mirror is not desired]), reading a lot of data from the store will use up as much disk space as the (deduplicated) size of the loaded objects.

When using partial loads it is even worse, as it always caches the full object, not just the range requested.

So, guess we need to do cache eviction more frequently, but not on every request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions