Skip to content

Rule eval result caching to improve Ruler performance #7048

@alvinlin123

Description

@alvinlin123

Is your feature request related to a problem? Please describe.
It's not related to a problem, but I think I would like rule groups to be evaluated faster.

Describe the solution you'd like
For a rule group with 2 rules, A, and B; B depends on A. If we cache the result of A, then B can used the cached result rather than waiting for A's result to be written to ingester then read from ingester.

This will be particularly useful when A produces a lot of time series where writing and querying ingestr will take time.

Describe alternatives you've considered
No. Didn't think of other alternatives. Of course concurrent_evals_enabled would boost performance, be rule eval result caching would boost the performance further.

Additional context
No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/rulesBits & bobs todo with rules and alerts: the ruler, config service etc.type/feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions