~/talk

Optimizing Latency-Sensitive Queries for Presto at Facebook

Talkat Scale By the Bay 2020 · on Friday, 2020-11-13· at 23:15· cloud, Online· [databases, data-engineering]
links:none on file
name:Bin Fan
links:none on file
slides:none on file

Facebook embeds Alluxio local on-SSD cache into Presto workers and measures results on a 600-node shadow cluster with 460 GB cache per node and 17,000 real queries. Using 1MB segment blocks, LRU eviction and async background writes, p95 latencies drop roughly 50% and IO scan volume falls from 582 TB to 250 TB (~57% scan savings). The cache is segment-based, off-heap, supports pluggable policies and RocksDB storage, handles disk failures, and runs in production.

AI-written summary · about

  1. 0:00Intro
  2. 0:26Presto @ Facebook Scale
  3. 1:26How Presto Works
  4. 6:21Affinity Scheduling
  5. 11:00File Merge Caching
  6. 12:01Learnings & Alluxio Collaboration
  7. 14:05Benchmark Configuration
  8. 14:38Benchmark Results
  9. 16:29Alluxio Overview Translate access to optimal storage APIs over a slow network
  10. 17:59Options with Alluxio
  11. 19:11Presto & Alluxio Local Cache Architecture
  12. 20:07Implementation & Optimization
  13. 22:39Ongoing Development (WIP) Support Schema/Table/Partition level Cache Quota
  14. 24:02Alluxio File System Enhancements
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.