You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #348 reduces repeated warm-query evaluator work via query-scoped caches and shared canonical labels, but it intentionally does not add a new evaluator fast path.
Range queries are still evaluated as repeated instant evaluations across outer steps. After #348 lands, we may still be doing too much repeated selector work per step even when cache hit rates are already high.
This issue should add a fast path for outer query_range evaluation over eligible VectorSelector leaves:
preload the selector results once for the outer step grid
build per-series per-step latest-sample tables
let later outer steps reuse those tables instead of rerunning selector evaluation and sample selection each time
Scope constraints:
apply only to outer query_range context
start with direct or simple VectorSelector leaves
keep subqueries and matrix selectors on the existing path initially
preserve the current pipeline/concurrency model instead of adding a fully separate read path
Expected gains:
potentially large warm-query reductions on step-heavy range queries with repeated vector-selector evaluation
the gains should scale with step count and selector reuse
Issue #348 reduces repeated warm-query evaluator work via query-scoped caches and shared canonical labels, but it intentionally does not add a new evaluator fast path.
Range queries are still evaluated as repeated instant evaluations across outer steps. After #348 lands, we may still be doing too much repeated selector work per step even when cache hit rates are already high.
This issue should add a fast path for outer
query_rangeevaluation over eligibleVectorSelectorleaves:Scope constraints:
query_rangecontextVectorSelectorleavesExpected gains:
When the gains are realized:
query_rangerequests with many stepsrate(metric[5m])Suggested acceptance criteria:
offset/@