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

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

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

Original URL: https://shopify.engineering/faster-trino-query-execution-infrastructure

Article Written: October 1, 2023

Added: November 24, 2026

Type: tech2

Summary

The article discusses how Shopify scaled its interactive query infrastructure to handle the rapid growth of datasets and improve query execution times using Trino. It details the challenges faced with high data volumes and the steps taken to optimize performance, including infrastructure scaling, JVM tuning, and the creation of workload-specific clusters. The results showed a significant reduction in query execution latency, achieving a P95 execution time of less than 30 seconds. Future plans include enhancing storage performance and improving query optimization strategies.

💭 Your Thoughts

Article in three ago can still help, how much Trino has been evaluated since then?

Technologies Referenced