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
sketch-bench PR #129 (rqe-optimizer) adds a HiGHS-backed MILP that picks sketch deployments (family, params, window, slide) for a repeating-query workload and shares deployments across compatible queries. Its output is meant to feed ASAPQuery's planner, so the solver should live in asap-planner-rs as mip_assign. That fills the Phase 3a slot in .design_docs/optimizer-v1-implementation-plan.md and closes the cross-AQE sharing gap (#650).
Goal
A production planner path, asap-planner --planner legacy|milp (default legacy), that solves the sharing-aware MILP over ASAPQuery's own candidates and cost model and emits deployable streaming_config.yaml / inference_config.yaml.
Summary
sketch-bench PR #129 (
rqe-optimizer) adds a HiGHS-backed MILP that picks sketch deployments (family, params, window, slide) for a repeating-query workload and shares deployments across compatible queries. Its output is meant to feed ASAPQuery's planner, so the solver should live inasap-planner-rsasmip_assign. That fills the Phase 3a slot in.design_docs/optimizer-v1-implementation-plan.mdand closes the cross-AQE sharing gap (#650).Goal
A production planner path,
asap-planner --planner legacy|milp(defaultlegacy), that solves the sharing-aware MILP over ASAPQuery's own candidates and cost model and emits deployablestreaming_config.yaml/inference_config.yaml.PR order
asap_types+ translator bug. First: legacy already dedups configs across queries, so last-ref-wins may bite today.extract_aqes,window_candidates);T % Sneeds per-item T. Base for the rest.avgunservable.avgreferences two aggregations; the engine doesn't support Avg yet (Support Avg (and other multi-statistic aggregations) in query engine #463), so in production those queries fall back to Prometheus until Support Avg (and other multi-statistic aggregations) in query engine #463 lands.Related
#650, #649, #652, #750, #526, #525, #563, #533; sketch-bench #129
🤖 Generated with Claude Code
Tracking
Design decisions: first comment below (kept in sync with the issues listed here).
Cost data
Model changes (before the MILP)
Verification before the MILP
MILP
mip_assign(good_lp + HiGHS) +asap-optimizer-cli --solvermip_assignagainst sketch-bench Re-organize code in repo to be more OSS friendly #129 (one-off)asap-planner --planner legacy|milpintegrationDocs
Known model limitations / follow-ups