Skip to content

Commit c750fa6

Browse files
zzylolclaude
andauthored
eval: case-study sweep rerun with both weight settings (CPU and Fargate) (#231)
The 38 sweep tables rerun without --weights cpu. CPU-only costs match the committed results exactly; the Fargate results are added, and the README notes the three plans that differ under Fargate prices. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 3d93cb2 commit c750fa6

39 files changed

Lines changed: 316473 additions & 4694 deletions

‎rqe-optimizer/results/case-studies/README.md‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,24 @@ ingest, and the planner splits the frequent coarse queries off to a
132132
> them every 15 s for the per-service and per-region queries costs more than
133133
> a second MV, so LiteOlly splits those queries off to a (service, region) MV.
134134
135-
## Caveats
135+
## Fargate prices
136+
137+
The result files now hold both weight settings (rerun without `--weights cpu`;
138+
the CPU-only results are unchanged, cost for cost). With memory priced
139+
(AWS Fargate), three plans differ from the CPU-only ones:
140+
141+
- **Performance monitoring, no SLA:** 3 MVs, 0.0075 $/h. The 6h and 24h
142+
queries share a 30 min tumbling MV, and the 1m–30m queries stay on 15 s;
143+
CPU-only keeps all six on 15 s (18 GiB). A 1 s SLA therefore no longer
144+
changes the plan. At 100 ms the planner moves 10m/30m to 2 min windows
145+
sliding every minute and 6h/24h to 1 h windows sliding every 30 min (4 MVs,
146+
0.0105 $/h).
147+
- **Performance monitoring, 15 s refresh of the long dashboard:** a 2 min
148+
window sliding every 15 s serves 10m–24h, as under CPU weights (0.106 $/h;
149+
LiteOllyPerQuery 0.140, AutoSketch 29.6).
150+
- **Anomaly detection:** the same plans as CPU-only (3 MVs for the six
151+
queries; with the drill-down, 1 MV at 25 endpoints and 2 at 100).
152+
136153

137154
- CPU weights only: memory is free, so the base performance plan holds
138155
18 GiB of 15 s windows. Fargate weights would favor coarser windows.
@@ -167,7 +184,7 @@ cp -r rqe-optimizer/results/autosketch-vs-asap-hydra/inputs/saturation/* $SAT/
167184
python3 scripts/case_study_tables.py --out $DIR/inputs/tables
168185
while IFS=$'\t' read -r table slas; do
169186
target/release/examples/autosketch_vs_asap synthetic --table $DIR/inputs/tables/$table \
170-
--target p95 --runs 1 --weights cpu --slas-ms $slas --saturation-dir $SAT \
187+
--target p95 --runs 1 --slas-ms $slas --saturation-dir $SAT \
171188
--out $DIR/${table%.json}-tp95.json
172189
done < $DIR/inputs/tables/plan.tsv
173190
python3 scripts/summarize_case_studies.py $DIR/*-tp95.json > $DIR/summary.md

0 commit comments

Comments
 (0)