Repository navigation
rqe-optimizer: workload_scenarios example (lookback/interval, grouping, type and SLA sweeps) - #177
Merged
Merged
Conversation
Each scenario is 10 quantile_over_time RAQEs on distinct metrics sharing one (lookback, interval); the example solves each with the MILP and prints one row per scenario. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sweeps Renames quantile_scenarios to workload_scenarios and adds sweeps over mixed groupings, mixed query types, a latency SLA and an accuracy SLA. Each step prints the deployments the MILP runs and the queries each one serves. --sweep NAME runs one sweep. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… study's cost table Raqe no longer names an accuracy metric, so each query keeps only its SLA and the output prints the chosen family's metric. The cost table is read from the saturation directory, so --cost-dir is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
milindsrivastava1997
force-pushed
the
rqe-optimizer-quantile-scenarios
branch
from
October 9, 2026 15:21
df2ee52 to
c80789b
Compare
milindsrivastava1997
marked this pull request as ready for review
October 9, 2026 15:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
rqe-optimizer/examples/workload_scenarios.rs: sweeps that show how the MILP's optimal deployment moves as the query workload changes. Each sweep steps one knob of a base workload; each step is solved with the MILP and printed as the deployments it runs, the queries each one serves, and per-query merges, latency and achieved accuracy vs SLA.Sweeps
lookback-intervalmixed-groupingmixed-typelatency-slaaccuracy-slaResults on
out_10_6_26_1342(w_cpu=1, w_mem=0), before rebasing onto #173/#174That export no longer parses (rows now need
accuracy_metric). The example is rebased and builds against current main but has not been rerun; these results will be refreshed from astudy_saturation.py --phase optimizer-costrun.Not done
optimizer_cost/) and refresh the results above.small_problemnow that both come from one study.mixed-groupingstops being a baseline.🤖 Generated with Claude Code