Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Replication Remove topic Replication Clear all 8 posts RSS

2023

2022

Meta Engineering

FOQS: Making a distributed priority queue disaster-ready

Case study 10 min +100 XP

Meta's FOQS distributed priority queue moved from isolated regional installations on semi-synchronous replicated MySQL to a single global installation, after Hurricane Florence in 2018 exposed manual traffic rebalancing and items stuck on unreachable shards.

2021

Meta Engineering

Power Loss Siren: Making Meta resilient to power loss events

Case study 9 min +90 XP

Power Loss Siren (PLS) is Meta's rack-level power loss detection system: a relay daemon on each top-of-rack switch polls power supply signals and, if AC power isn't restored within 45 seconds, sends a link-local UDP multicast so server-side handlers can act during the remaining ~45 seconds of the rack's 90-second battery runway.

The quest for software engineering knowledge.

Look:
Layout: