Skip to content

[FEATURE] Eager Refresh support when using SkipMemoryCache (L2-only scenarios) #604

@Coelho04

Description

@Coelho04

Problem

We wanted to use SkipMemoryCache = true to avoid memory pressure on our pods, while still benefiting from Eager Refresh to keep our Redis cache warm and reduce latency.
However, after enabling SkipMemoryCache = true, we noticed Eager Refresh completely stopped firing — zero EagerRefresh events in our OpenTelemetry metrics.

Solution

I believe that the solution would be when validating that the distributed entry is valid to also perform the check if it should execute the eager refresh.

Thank you for the amazing work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions