@@ -34,17 +34,17 @@ export INSTALL_DIR=/scratch/sketch_db_for_prometheus
3434cd ~ /asap-internal/QueryEngineRust && cargo build --release
3535
3636# data_exporter
37- cd ~ /asap-internal/ExecutionUtilities /clickhouse-benchmark-pipeline/data_exporter
37+ cd ~ /ASAPQuery/ asap-tools/execution-utilities /clickhouse-benchmark-pipeline/data_exporter
3838cargo build --release
3939```
4040
4141### Download and chunk ClickBench data (one-time)
4242
4343``` bash
44- cd ~ /asap-internal/ExecutionUtilities /clickhouse-benchmark-pipeline
45- python3 clickbench_importer /download_data.py
44+ cd ~ /ASAPQuery/ asap-tools/execution-utilities /clickhouse-benchmark-pipeline
45+ python3 benchmark_importer /download_data.py
4646
47- DATA_DIR=~ /asap-internal/ExecutionUtilities /clickhouse-benchmark-pipeline/clickbench_importer /data
47+ DATA_DIR=~ /ASAPQuery/ asap-tools/execution-utilities /clickhouse-benchmark-pipeline/benchmark_importer /data
4848cd $DATA_DIR
4949mv hits.json.gz hits_full.json.gz
5050zcat hits_full.json.gz | head -n 1000000 | gzip > hits.json.gz
@@ -54,7 +54,7 @@ zcat hits_full.json.gz | head -n 1000000 | gzip > hits.json.gz
5454
5555``` bash
5656pip3 install --user requests matplotlib numpy
57- pip3 install --user ~ /asap-internal/CommonDependencies /dependencies/py/promql_utilities/
57+ pip3 install --user ~ /ASAPQuery/ asap-common /dependencies/py/promql_utilities/
5858```
5959
6060---
@@ -111,7 +111,7 @@ python3 run_arroyosketch.py \
111111 --input_kafka_topic hits \
112112 --output_format json \
113113 --pipeline_name asap_hits_pipeline \
114- --config_file_path ~ /asap-internal/ExecutionUtilities /asap_query_latency/streaming_config.yaml \
114+ --config_file_path ~ /ASAPQuery/ asap-tools/execution-utilities /asap_query_latency/streaming_config.yaml \
115115 --output_kafka_topic sketch_topic \
116116 --output_dir ./outputs \
117117 --parallelism 1 \
@@ -124,8 +124,8 @@ python3 run_arroyosketch.py \
124124cd ~ /asap-internal/QueryEngineRust
125125nohup ./target/release/query_engine_rust \
126126 --kafka-topic sketch_topic --input-format json \
127- --config ~ /asap-internal/ExecutionUtilities /asap_query_latency/inference_config.yaml \
128- --streaming-config ~ /asap-internal/ExecutionUtilities /asap_query_latency/streaming_config.yaml \
127+ --config ~ /ASAPQuery/ asap-tools/execution-utilities /asap_query_latency/inference_config.yaml \
128+ --streaming-config ~ /ASAPQuery/ asap-tools/execution-utilities /asap_query_latency/streaming_config.yaml \
129129 --http-port 8088 --delete-existing-db --log-level DEBUG \
130130 --output-dir ./output --streaming-engine arroyo \
131131 --query-language SQL --lock-strategy per-key \
@@ -137,7 +137,7 @@ nohup ./target/release/query_engine_rust \
137137` data_exporter ` reads all 1M records, transforms them (RFC3339 EventTime, stringify integer fields), sorts by EventTime, then sends to Kafka with event-time Kafka timestamps. This enables Arroyo's watermark to advance correctly for event-time windowing.
138138
139139``` bash
140- cd ~ /asap-internal/ExecutionUtilities /clickhouse-benchmark-pipeline
140+ cd ~ /ASAPQuery/ asap-tools/execution-utilities /clickhouse-benchmark-pipeline
141141TOTAL_RECORDS=1000000 DATA_MODE=clickbench bash scripts/generate_data.sh
142142```
143143
@@ -146,7 +146,7 @@ Wait for completion before running the benchmark.
146146### Step 9 — Run ASAP benchmark
147147
148148``` bash
149- cd ~ /asap-internal/ExecutionUtilities /asap_query_latency
149+ cd ~ /ASAPQuery/ asap-tools/execution-utilities /asap_query_latency
150150./run_benchmark.py \
151151 --mode asap \
152152 --sql-file asap_quantile_queries.sql \
@@ -165,7 +165,7 @@ $INSTALL_DIR/clickhouse client --query "SELECT count(*) FROM hits"
165165Run the benchmark:
166166
167167``` bash
168- cd ~ /asap-internal/ExecutionUtilities /asap_query_latency
168+ cd ~ /ASAPQuery/ asap-tools/execution-utilities /asap_query_latency
169169./run_benchmark.py \
170170 --mode baseline \
171171 --sql-file clickhouse_quantile_queries.sql \
0 commit comments