Mass Messaging: Reaching Millions During Large-Scale Disasters
summary
Facebook builds a Safety Check system that leverages newsfeed sampling and recursive friend fan‑outs to find and notify people in a disaster zone without a prebuilt geo index. It uses lightweight DB flags plus in‑memory TTL locks to avoid duplicate notifications, a server‑driven cross‑platform message model with TTLs and impression counts, and dark‑launch stress tests. The result: the system invites 3 million in under five minutes while scanning over a billion rows and successfully reaching millions.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:27Inspiration
- 3:48Geolocation Query
- 5:32Algorithm
- 6:49Why does it work
- 8:14Race conditions
- 10:26Mass messaging in practice
- 13:38Safety Check
- 15:42Lessons Learned
- 18:42Dynamic Content
- 20:19Caching
- 22:03Stress Testing
- 23:29Conclusion
related talks
43mHow WhatsApp moved 1.5B users across data centers
01h 01mPanel: Facebook's Distributed Database Evolution
34mHigh-Throughput Push Notification Delivery
21mLive Traffic Load-Testing-Measuring and Validating Capacity at Facebook
49mThat's 'Billion' with a 'B': Scaling to the Next Level
01h 01mWarning When You Need It: Earthquakes and Smartphones
54mA million WebSocket connections and pub/sub
34mGrowth from zero to 15,000 messages per second: painful and instructive
