interactive-benchmark
Installation
SKILL.md
Interactive Warehouse Benchmark
Benchmarks any user-provided SQL query against a Snowflake Interactive Warehouse under concurrent load, using a FastAPI server deployed to Snowpark Container Services (SPCS) and Locust for load generation. The goal is to determine whether the query can meet a specified latency target (P95) on an interactive warehouse.
IMPORTANT: This benchmark MUST use the SPCS-deployed API server and Locust load generator. Do NOT create alternative benchmarking approaches (e.g. running queries directly from the client, writing custom scripts, or bypassing Locust). The entire benchmark infrastructure — API server, Locust, compute pools — runs on SPCS.
Prerequisites
snowCLI- Python 3
envsubst(gettext)- A Snowflake connection configured in
~/.snowflake/connections.toml - Role with privileges to create the benchmark database/schema/stage, warehouses, compute pools, services, and public service endpoints; use the deployment warehouse; and read the approved System Registry image
- Ability to use Snowpark Container Services (SPCS)