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

What is lease-based visibility in distributed priority queues?

A dequeued item has a lease. If the consumer neither acknowledges nor negatively acknowledges it before the lease expires, FOQS can redeliver it according to the configured retry and delivery policy.

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.