AlgoViz

The Facebook outage of 2021

medium 26 min

On 4 October 2021 a maintenance command took down every link of Facebook's backbone.

Remember it

The few things worth knowing cold, and how to make them stick.

Memory hook

Bridge, lamp, keys: the network went, the names went, the way in went.

A lighthouse keeper with one bridge and the key board hanging on it. When the bridge goes, the lamp switches itself off and the keeper must row.

Cheat sheet

Date
4 October 2021
Trigger
command to assess capacity
Guard
audit tool with a bug
Cause
all backbone links down
Amplifier
name servers withdrew routes
Why long
access and tools down, secure buildings
Name gone
about 15:50 to 21:20 UTC
Resolvers
30x queries (Cloudflare)
Return
in steps, practised in drills

Spot it when you see

  • One change system for all regions.
  • Health checks that remove hosts without a floor.
  • Repair tools that need production sign-in or DNS.
  • Name servers all inside one network.

Tricks that stick

  • Trigger, cause, symptom: command, backbone, DNS.
  • Copies cannot beat a shared cause.
  • Never hang the keys on the bridge.
  • Test that the guard says no.

Do not forget

  • Calling DNS the cause.
  • Calling a path out of band because it has another name.
  • Switching everything on at once.
  • Blaming the person instead of the reach of the command.