---
answer: direct
beat: system-design
source: 1 article · updated: November 15, 2026
---

What is FOQS and what does it use MySQL for?

Meta describes FOQS as a persistent, multitenant distributed priority queue built on sharded MySQL. Each queue item corresponds to a row, while FOQS hosts manage API traffic and dequeue optimization.

Answered in

How Meta Scaled FOQS, a Priority Queue Built on Sharded MySQL

Meta's FOQS combines MySQL-backed persistence, per-shard ready-item indexes, prefetching, leases, and tenant capacity controls.

Crashtech Editorial November 15, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.