To achieve its ambitious efficiency and environmental goals, Facebook redesigned its entire physical infrastructure, from grid to gates, with a focus on squeezing out every possible efficiency.