Common Sub Expression Optimization at Facebook

Common Sub Expression Optimization at Facebook

In complex analytics queries, we often see repeated expressions, for example parsing the same JSON column but extracting different fields, elaborate CASE statement with common predicates and different ones. Previously, Presto will compute the same expression many times as they appear in query. With common sub expression optimization, we would only evaluate the same expression once within the same project operator or filter operator. In our workload, we’ve seen 3x improvements on certain queries with expensive common sub expressions like JSON_PARSE. Microbenchmark also shows a consistent ~10% performance improvement for simple common sub-expressions like x + y. In this talk, we will talk about how this is implemented.

Top 10 Reasons to Use & Contribute to Presto – Steven Mih, Ahana

Top 10 Reasons to Use & Contribute to Presto – Steven Mih, Ahana

Presto is complicated with many intricacies. Ahana Cloud is the only managed service for Presto on AWS that simplifies Presto, bringing its power to platform teams of any size or skill set. In this session we’ll give you a quick overview of Ahana Cloud, including managing multiple Presto clusters seamlessly, querying a range of data sources, as well as just-released capabilities.