Shopify
Trino Query Execution Performance Tooling
What this trail covers
Shopify has evolved its approach to managing Trino query execution performance by developing custom verification, benchmarking, and profiling tooling. This framework, built as a lightweight Python library, standardizes testing procedures, extracts undocumented knowledge into code, and minimizes the risk of changes at scale. It supports use cases like replaying past queries, replicating real-time traffic, and utilizing standardized benchmarking frameworks like TPC-DS. The tooling integrates with Datadog for metrics extraction and analysis. The team also addressed issues with JVM settings, CPU and memory allocation, and cluster classes by creating workload-specific clusters and implementing lock contention limits.
All Shopify trails