Python in production engineering
May 27, 2016Romain Komorn

Summary
This post details the extensive use of Python in Meta's production engineering for infrastructure management, platform services, and service configuration. It highlights Python's role in managing hardware lifecycle, network switch setup (TORconfig, FBOSS), core services (Kobold), auto-remediation (FBAR), maintenance scheduling (Dapper), server imaging (Cyborg), and fault detection (machinechecker). It also covers platform services like Job Engine, fbpkg, FBTFTP, and Osmosis, and configuration management using Configerator and Tupperware. The post quantifies Python's usage (21% of infrastructure codebase, millions of lines of code) and notes the increasing adoption of Python 3.
More from the Site Reliability and Outage Management trail
- Lights Out, Systems On: Validating Instant Power Loss Readiness
- DrP: Meta’s Root Cause Analysis Platform at Scale
- Zoomer: Powering AI Performance at Meta’s Scale Through Intelligent Debugging and Optimization
- Diff Risk Score: AI-driven risk-aware software development
- How Meta keeps its AI hardware reliable