# Lessons Learned Running Presto at Meta Scale

DevFeed: [Lessons Learned Running Presto at Meta Scale](<https://devfeed.tech/articles/lessons-learned-running-presto-at-meta-scale-27907.md>)

Original publisher: [Read original article](<http://highscalability.com/blog/2023/7/16/lessons-learned-running-presto-at-meta-scale.html>)

Author: Philip Bell

Published: 2023-07-16T16:42:21Z

Content type: tutorial

Language: en

Sources: [High Scalability](<https://devfeed.tech/sources/high-scalability.md>), [High Scalability](<https://devfeed.tech/sources/high-scalability-2.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [gateway](<https://devfeed.tech/topics/gateway.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [releases](<https://devfeed.tech/topics/releases.md>), [data centers](<https://devfeed.tech/topics/data-centers.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [automation](<https://devfeed.tech/tags/automation.md>), [availability](<https://devfeed.tech/tags/availability.md>), [data-centers](<https://devfeed.tech/tags/data-centers.md>), [database-scalability](<https://devfeed.tech/tags/database-scalability.md>), [ddatabase](<https://devfeed.tech/tags/ddatabase.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [high-availablilty](<https://devfeed.tech/tags/high-availablilty.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [high-scalability](<https://devfeed.tech/tags/high-scalability.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [presto](<https://devfeed.tech/tags/presto.md>), [releases](<https://devfeed.tech/tags/releases.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

This article presents lessons from running Presto, an open source SQL query engine, at Meta scale. It discusses deploying new releases across many clusters, maintaining availability during updates, routing queries through the Gateway, and automating cluster operations.

## Source excerpt

Presto is a free, open source SQL query engine. We've been using it at Meta for the past ten years, and learned a lot while doing so. Running anything at scale - tools, processes, services - takes problem solving to overcome unexpected challenges. Here are four things we learned while scaling up Presto to Meta scale, and some advice if you're interested in running your own queries at scale. Scaling Presto rapidly to meet growing demands: What challenges did we face? Deploying new Presto releases