Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Query engines Remove topic Query engines Clear all 3 posts RSS

2026

2021

Shopify's Path to a Faster Trino Query Execution: Custom Verification, Benchmarking, and Profiling Tooling

Case study 12 min +120 XP

Shopify's Data Reliability team built a lightweight Python library on trino-python-client to orchestrate Trino queries, with three uses: PyTest-based verification suites, TPC-DS benchmarking across scale factors, and profiling through traffic generation and query replay.

Shopify's Path to a Faster Trino Query Execution: Infrastructure

Case study 12 min +120 XP

Shopify scaled its Trino interactive query infrastructure on GKE by moving experiment queries to a dedicated cluster via Trino Gateway header routing and capping hardConcurrencyLimit at 60 to relieve coordinator lock contention on the resource group.

The quest for software engineering knowledge.

Look:
Layout: