Shopify
Shopify logoShopify · Feature trail

Trino Query Execution Performance Tooling

1 post · Jul 2021 – Nov 2022

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