• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

Exclusive

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

An hour in the Oval Office with President Trump Fortune Editor-in-Chief: Alyson Shontell sat down with President Trump in the Oval Office for an hour. Tariffs, Intel, AI, Boeing, Iran—and the question every CEO eventually has to answer: who's next?

TechFortune 500

Here’s Facebook’s Secret to Creating Software For Billions of Users

By
Jonathan Vanian
Jonathan Vanian
Down Arrow Button Icon
By
Jonathan Vanian
Jonathan Vanian
Down Arrow Button Icon
August 31, 2017, 1:00 PM ET

Facebook’s billions of users may not have noticed any changes. But over the past year, the social network has overhauled its underlying software so that it can debut new features more quickly and save its engineers time.

The fixes, both small and large, help keep the site operating smoothly, even during huge spikes in traffic during major events like Hurricane Harvey. They also help the company add new features like video streaming and messaging, without many technical hiccups.

To help with these projects, Facebook used software development techniques typically used by startups that are a fraction of its size, said Chuck Rossi who oversees the company’s big software release projects. When he first joined Facebook nearly 10 years ago after stints at Google (GOOG), VMware (VMW), and IBM (IBM), he saw how the “crazy kids,” as he put it, built the site and its related software infrastructure unlike anything he’d seen before.

Get Data Sheet, Fortune’s technology newsletter.

Instead of building software like most big companies do in long, drawn-out stages, Facebook’s small staff rapidly wrote code in smaller chunks to accommodate Facebook’s growth. This agile development approach, as its known in the tech industry, can tend to be more chaotic, but it results in being able to debut features more quickly than they would otherwise.

“Do I step in and apply my 20 years of experience here and force them to go down a more known and industry standard, or do we go with what these guys set up?” said Rossi. “I chose the later.”

Developers would have access to the company’s entire source code, and “cherrypick” bits and pieces from it for their respective projects, he said. Changes they made to the software would be implemented once daily.

But the more coders Facebook hired, the more frequently they wanted to modify the code, often from far-flung offices in Tel Aviv and Dublin. Coordinating the activity was difficult because of the global nature of their work.

Eventually, engineers ramped up to making nearly 1,000 changes to the code at three set times daily. Additionally, there would be a weekly mega update for changes that were supposed to happen earlier in the week, but for whatever reason, didn’t.

This process of releasing software in set times started to slow things down, which is not good for a service that keeps expanding. Eventually, Facebook’s coding started resembling the development practices of older, larger companies, and not the hot startup like Facebook once was.

Starting in April 2016, Facebook gradually started tweaking its software even more frequently, thus undermining any reason to have scheduled releases. Instead, Facebook developed a system it calls Gatekeeper that involves rolling out hundreds of changes every couple of hours.

Using customized tools, Facebook’s coders can automatically check their new software for bugs before implementing their changes. An automatic delay in pushing the changes to the entire service gives employees time to notice any hiccups, like a disappearing tab, so that they can hit an emergency kill-switch to stop the code from reaching users.

Once the code is ready, it goes out to only 2% of Facebook users. If nothing breaks, it then rolls out to everyone.

Rossi acknowledges that Facebook’s new check-and-balance system isn’t revolutionary considering most fast-rising startups have similar systems that ensure software is built fast without catastrophic bugs. Google and Amazon likely have similar systems.

Still, the fact that Facebook had to essentially overhaul how it builds software is noteworthy, and Rossi said it “was a little lonely and a little scary,” because there wasn’t much precedent for a company as big as Facebook to make such a big change in only a year. Over a course of three days in April, Facebook’s entire software process shifted to the new system, “and no one noticed,” he said.

About the Author
By Jonathan Vanian
LinkedIn iconTwitter icon

Jonathan Vanian is a former Fortune reporter. He covered business technology, cybersecurity, artificial intelligence, data privacy, and other topics.

See full bioRight Arrow Button Icon

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

Parag Agrawal speaking onstage.
Big TechAI agents
Parag Agrawal’s AI startup wants to pay publishers when AI agents use their work
By Beatrice NolanMay 19, 2026
19 minutes ago
Don’t hold your breath for the great AI job reshuffle, says Goldman Sachs—there’s little evidence of ‘too many coders and not enough plumbers’
InvestingMarkets
Don’t hold your breath for the great AI job reshuffle, says Goldman Sachs—there’s little evidence of ‘too many coders and not enough plumbers’
By Eleanor PringleMay 19, 2026
22 minutes ago
Travelers walk past an Alibaba Cloud advertisement in China
AITerm Sheet
DeepSeek and China’s AI boom are increasingly powered by state money
By Lily Mae LazarusMay 19, 2026
1 hour ago
Yahoo Finance's AlphaSpace is live as of May 19.
InvestingYahoo
Exclusive: Yahoo Finance is building a Bloomberg Terminal for everyone else
By Nick LichtenbergMay 19, 2026
1 hour ago
OpenAI CEO Sam Altman in Oakland, California, on May 12, 2026. (Photo: Josh Edelson/AFP/Getty Images)
NewslettersFortune Tech
Musk v. Altman: That’s all, folks
By Andrew NuscaMay 19, 2026
2 hours ago
joel
Commentarysaas
The SaaSpocalypse isn’t killing software. It’s exposing where software value really lives
By Joel HronMay 19, 2026
2 hours ago

Most Popular

The Bezos family just donated $100 million to help achieve one of Mayor Zohran Mamdani’s top campaign promises
Politics
The Bezos family just donated $100 million to help achieve one of Mayor Zohran Mamdani’s top campaign promises
By Jake AngeloMay 12, 2026
7 days ago
While Trump insisted the Iran war would end ‘soon,’ an account in his name was buying millions in oil, defense and gold
Economy
While Trump insisted the Iran war would end ‘soon,’ an account in his name was buying millions in oil, defense and gold
By Eva RoytburgMay 18, 2026
17 hours ago
Current price of oil as of May 18, 2026
Personal Finance
Current price of oil as of May 18, 2026
By Joseph HostetlerMay 18, 2026
22 hours ago
EXCLUSIVE: An hour in the Oval Office with the CEO-in-Chief, President Trump
Politics
EXCLUSIVE: An hour in the Oval Office with the CEO-in-Chief, President Trump
By Alyson ShontellMay 18, 2026
1 day ago
Spirit Airlines apologizes to all the Americans who can't afford any summer vacation flights as it shuts down
Travel & Leisure
Spirit Airlines apologizes to all the Americans who can't afford any summer vacation flights as it shuts down
By Rio Yamat and The Associated PressMay 18, 2026
22 hours ago
Microsoft AI chief gives it 18 months—for all white-collar work to be automated by AI
AI
Microsoft AI chief gives it 18 months—for all white-collar work to be automated by AI
By Jake AngeloMay 16, 2026
3 days ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.